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/%2BYhHlnZ6SlXm0JczLMiJCfj%2BPgDvyLxIPQzDnVvLVFtkaYmFm6y6%2FEAj%2B6kSlPXNRfcUC1V3Y%2B2xpBwqinVpflZeczIngrNAq2cY17h7SC1BBIRct3IeXPD%2Bwn2S%2BbAC8mgOwD6pdLeFiM0Lu6mQUy5K/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/NdNzJ7aQ02kbwvfgJ3eJVEaCbWweLEa2XpkcuL8QcLBtmZldxzySbkcC3GtzAw1Gt3LSKUwJRGkiw%2BYxjNKCVpw1mMLebYk%3D/image.png)
![[IMG]](proxy/w%2BGuRzsSgV2CnF%2BvVueGhwdneB4RaAvoUmCX8khBfR7ivj95bJP1QE6sBEkMab17Za7ybKrOi27hc7eEAJQUaGw0Hk4Tuho%3D/image.png)
![[IMG]](proxy/%2BYhHlnZ6SlXm0JczLMiJCfj%2BPgDvyLxIPQzDnVvLVFtkaYmFm6y6%2FEAj%2B6kSlPXNRfcUC1V3Y%2B2xpBwqinVpflZeczIngrNAq2cY17h7SC1BBIRct3IeXPD%2Bwn2S%2BbAC8mgOwD6pdLeFiM0Lu6mQUy5K/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/NdNzJ7aQ02kbwvfgJ3eJVEaCbWweLEa2XpkcuL8QcLBtmZldxzySbkcC3GtzAw1Gt3LSKUwJRGkiw%2BYxjNKCVpw1mMLebYk%3D/image.png)
![[IMG]](proxy/w%2BGuRzsSgV2CnF%2BvVueGhwdneB4RaAvoUmCX8khBfR7ivj95bJP1QE6sBEkMab17Za7ybKrOi27hc7eEAJQUaGw0Hk4Tuho%3D/image.png)