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/B2bhCtHKG7PKfHUZjMWviazukGvdVAIvO%2BBwxeJqzzNKR0cniISxc7aR9vDQAqEjSHZTfRIiqQU%2FxDR7Awn7sJ9iq5lYYv8qZ2abTg7r635TwMmylhayn%2F9XtoUxtMUE7ix69KymyozNp6dlZg6IPVpN/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/YgGZm7xBPfejIHHQn8tUtAda2tvm1QuQSGhazpa32CzuipBhazdb3ZZ4RoXeknOrJBLEQ4Nc5kMfL9UkzFv31J%2BWTHXglKg%3D/image.png)
![[IMG]](proxy/ElGdVxMiiesvRdQx3Tu1usGHNLrn%2BsOibcxibTZpwgOo2zJPZiOsaUARcGhKWjIKLUtb9qBDQuknBVJtE%2F0cdwxx2U2EURg%3D/image.png)
![[IMG]](proxy/B2bhCtHKG7PKfHUZjMWviazukGvdVAIvO%2BBwxeJqzzNKR0cniISxc7aR9vDQAqEjSHZTfRIiqQU%2FxDR7Awn7sJ9iq5lYYv8qZ2abTg7r635TwMmylhayn%2F9XtoUxtMUE7ix69KymyozNp6dlZg6IPVpN/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/YgGZm7xBPfejIHHQn8tUtAda2tvm1QuQSGhazpa32CzuipBhazdb3ZZ4RoXeknOrJBLEQ4Nc5kMfL9UkzFv31J%2BWTHXglKg%3D/image.png)
![[IMG]](proxy/ElGdVxMiiesvRdQx3Tu1usGHNLrn%2BsOibcxibTZpwgOo2zJPZiOsaUARcGhKWjIKLUtb9qBDQuknBVJtE%2F0cdwxx2U2EURg%3D/image.png)