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/s1KgOmoGt7ANhPx7L0u%2FpxZKK7MZB2vd9ImHClA%2FydigJO8cbJoiKbe8Iq1XjmFH5HivvecDhlXlHgS2AtUYd3yekerE90OccUt1F%2B7DUzxP36NFrjQROSZIQh0PxZVZiW1sfsB6GsJcfQMFo0LbozUj/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/W8HtyVQC%2F8dc5kszLDLcIYs7PsDsuezftjwqG7WhuPcwPeX1VFf9Hl9bAJSmI8pE1LcowI0Z7dQq5OxiphmAksyAMib8JrY%3D/image.png)
![[IMG]](proxy/U8zc5V%2FtvXpPFu5hN2L75iwkzzWIoFpBuBMmlKZjJ%2FbjPRcgSWRgptZk2smAdHhLwBmtO7OlrEXq1nGU0uYCUJfu2vDguN0%3D/image.png)
![[IMG]](proxy/s1KgOmoGt7ANhPx7L0u%2FpxZKK7MZB2vd9ImHClA%2FydigJO8cbJoiKbe8Iq1XjmFH5HivvecDhlXlHgS2AtUYd3yekerE90OccUt1F%2B7DUzxP36NFrjQROSZIQh0PxZVZiW1sfsB6GsJcfQMFo0LbozUj/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/W8HtyVQC%2F8dc5kszLDLcIYs7PsDsuezftjwqG7WhuPcwPeX1VFf9Hl9bAJSmI8pE1LcowI0Z7dQq5OxiphmAksyAMib8JrY%3D/image.png)
![[IMG]](proxy/U8zc5V%2FtvXpPFu5hN2L75iwkzzWIoFpBuBMmlKZjJ%2FbjPRcgSWRgptZk2smAdHhLwBmtO7OlrEXq1nGU0uYCUJfu2vDguN0%3D/image.png)