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/fl0F9Xscenzhjed34QurBMWXuel0Rs5YBXREBdpNuMDwNmlaVoqdCEbz6VGnj0vGvHy3uIP77rNPigEB%2BY1OkYcUNKYjU2mOJKxVzu6t97u5cz3m9XmakeEeXgRz20Fz1q30QtnuVDYLL5F28cV4DXeB/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/2Kv4mpCjHXx%2BLUWr81B5OkCZAgKaOS%2BNsTW7wrBUsy5lEk6%2FagJx23ulFFXCmx0%2FmgDYWAuQ%2FgCszk9jwNZCcB66NRZ7290%3D/image.png)
![[IMG]](proxy/K6YuQ68b4K3pvfov7Xe9LmKOV65Jei%2BQyxmQIIaDnGZuyxrwb7%2F%2B0BD72DuP0IEcSxfzlmHm7krag7yxtfUhIpkpqBjJLzg%3D/image.png)
![[IMG]](proxy/fl0F9Xscenzhjed34QurBMWXuel0Rs5YBXREBdpNuMDwNmlaVoqdCEbz6VGnj0vGvHy3uIP77rNPigEB%2BY1OkYcUNKYjU2mOJKxVzu6t97u5cz3m9XmakeEeXgRz20Fz1q30QtnuVDYLL5F28cV4DXeB/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/2Kv4mpCjHXx%2BLUWr81B5OkCZAgKaOS%2BNsTW7wrBUsy5lEk6%2FagJx23ulFFXCmx0%2FmgDYWAuQ%2FgCszk9jwNZCcB66NRZ7290%3D/image.png)
![[IMG]](proxy/K6YuQ68b4K3pvfov7Xe9LmKOV65Jei%2BQyxmQIIaDnGZuyxrwb7%2F%2B0BD72DuP0IEcSxfzlmHm7krag7yxtfUhIpkpqBjJLzg%3D/image.png)