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/AtDTTlkhf7qi2dLidGcQSXKr73yWxdraSzHGX2VyRIQZAz6%2BOHyK2HfpeSjsXy36JtDMdFHZm7yzj%2BEO6ygwVhjt7E5gKB6mZ%2Bg9Lqi8tiEbMbS1v2ddVDhbP8O%2F3oDwoiNC0ddni616OHK86lN7dXzg/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/icfcalhyVf16H15%2FEdgCO%2F0Rt8NZ68kpDfA00iUwPc%2FptoAjeGAhONjxzHTn4Eyb9%2F5M08Zh8r%2B7jvgDV6Skc4Gx8cpFiCE%3D/image.png)
![[IMG]](proxy/6ndqNwbvPHMO4pdJoswgTxAHNre4M1%2B9hlNrDSQI1aX%2Br50TzHA4KfxfDVZlc8jpgk%2B5G%2BrkHc%2FEXRz9PtfxASLePukYzwo%3D/image.png)
![[IMG]](proxy/AtDTTlkhf7qi2dLidGcQSXKr73yWxdraSzHGX2VyRIQZAz6%2BOHyK2HfpeSjsXy36JtDMdFHZm7yzj%2BEO6ygwVhjt7E5gKB6mZ%2Bg9Lqi8tiEbMbS1v2ddVDhbP8O%2F3oDwoiNC0ddni616OHK86lN7dXzg/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/icfcalhyVf16H15%2FEdgCO%2F0Rt8NZ68kpDfA00iUwPc%2FptoAjeGAhONjxzHTn4Eyb9%2F5M08Zh8r%2B7jvgDV6Skc4Gx8cpFiCE%3D/image.png)
![[IMG]](proxy/6ndqNwbvPHMO4pdJoswgTxAHNre4M1%2B9hlNrDSQI1aX%2Br50TzHA4KfxfDVZlc8jpgk%2B5G%2BrkHc%2FEXRz9PtfxASLePukYzwo%3D/image.png)