I’m wondering to know if threads are efficient. This is a total newbie question, I know… But I am uncertain if it is the best choice for my project
I’m developing a device that have some LEDs and a buzzer. Put the code of these components in a separated thread (daemon) makes a lot of sense to me: a global variable selects which while loop with the behavior is executed.
I’m using a WROOM32 module and a only have two threads: the main thread and the peripherals’ thread. Can WROOM32 easily handle still more threads?