Article related to ESP32 microcontroller that are programmed under Arduino IDE using Arduino Core (Wiring) that supports also FreeRTOS that is helpful for running multiple non-blocking loops known as tasks.
![[IMG]](proxy/QdOZhRU8li2pl%2FG9JGj4f6%2F%2FNK2aMYcE%2Bqt5uVfIgPf4Tvqgv9PP9evdCkh8mTDPNQDV9LAeipDvuFuT8CM1vS8Tw%2Fu36L44M5KBZPbzf1PDUabA12Ei8YI8Nr1E7SdpxwCbtiKWqNjETDPmeZup9s8e/image.png)
Also available in the article is a link to the Wokwi simulator, where it is possible to test a solution under FreeRTOS, which enables synchronous flashing of LEDs in 5 tasks. The article also describes various methods of inter-task communication, for example Queue, for which a program implementation is also available in the Water level monitor project.
![[IMG]](proxy/jDWiLvCUFPV7ZhbnX0fHFD1kRK2WBxo8N1Tr%2FgN%2FIgwt%2BdolIwnQe2%2BEgc99pMOCVkVaG3iB8DOzHLe28YxAk%2BT8Ts%2F0tr8%3D/image.png)
![[IMG]](proxy/1w6qK0Vwroutr1eq%2BQ6fDxHnJgcRSBe5afldsMQxBXqZ66UnKZdGXmf78YJgJUd8esh06eER61yuaVHRPp606neU8o111mA%3D/image.png)
![[IMG]](proxy/QdOZhRU8li2pl%2FG9JGj4f6%2F%2FNK2aMYcE%2Bqt5uVfIgPf4Tvqgv9PP9evdCkh8mTDPNQDV9LAeipDvuFuT8CM1vS8Tw%2Fu36L44M5KBZPbzf1PDUabA12Ei8YI8Nr1E7SdpxwCbtiKWqNjETDPmeZup9s8e/image.png)
Also available in the article is a link to the Wokwi simulator, where it is possible to test a solution under FreeRTOS, which enables synchronous flashing of LEDs in 5 tasks. The article also describes various methods of inter-task communication, for example Queue, for which a program implementation is also available in the Water level monitor project.
![[IMG]](proxy/jDWiLvCUFPV7ZhbnX0fHFD1kRK2WBxo8N1Tr%2FgN%2FIgwt%2BdolIwnQe2%2BEgc99pMOCVkVaG3iB8DOzHLe28YxAk%2BT8Ts%2F0tr8%3D/image.png)
![[IMG]](proxy/1w6qK0Vwroutr1eq%2BQ6fDxHnJgcRSBe5afldsMQxBXqZ66UnKZdGXmf78YJgJUd8esh06eER61yuaVHRPp606neU8o111mA%3D/image.png)