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/haWQd%2BlBMTgRtvqKWA45QcrQvyLiX7TumrSksJ5BjtNe44V%2BM4YsIzP4wvKdeY7tgvtSjkGcSjemU8fSd%2FFt2egf2BP0RZpwWq%2BpkdZMcf%2BH5QrS9EpE5l810p1sEMZFFdmv0D0RMYfHZ8GbUTTQ0KSB/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/SGQ2KnOTTIK1D9TpJgsvMmnPLs9XsLco69PEkcpQ8zWApd3oDbrAnZyBpXgw7QxZZTolbcWFcMY63cYRwHs%2BQU4pUf0dPU0%3D/image.png)
![[IMG]](proxy/8F%2FeW9MHr4mXbUvPbm5qthrbk%2FZhVGvAzDBccqDUciVv3mjdB18Nx%2FwmRslyxT2NlN6oX%2F2esrA%2FiTo%2By8FMPa7IwMWD3JU%3D/image.png)
![[IMG]](proxy/haWQd%2BlBMTgRtvqKWA45QcrQvyLiX7TumrSksJ5BjtNe44V%2BM4YsIzP4wvKdeY7tgvtSjkGcSjemU8fSd%2FFt2egf2BP0RZpwWq%2BpkdZMcf%2BH5QrS9EpE5l810p1sEMZFFdmv0D0RMYfHZ8GbUTTQ0KSB/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/SGQ2KnOTTIK1D9TpJgsvMmnPLs9XsLco69PEkcpQ8zWApd3oDbrAnZyBpXgw7QxZZTolbcWFcMY63cYRwHs%2BQU4pUf0dPU0%3D/image.png)
![[IMG]](proxy/8F%2FeW9MHr4mXbUvPbm5qthrbk%2FZhVGvAzDBccqDUciVv3mjdB18Nx%2FwmRslyxT2NlN6oX%2F2esrA%2FiTo%2By8FMPa7IwMWD3JU%3D/image.png)