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/sJNkYUJ1Kbue1l2fKzRSZL%2FlDsEzu1OV2Z4zdnxsPSlF1RatPtRj7RGbCDeSWsrwiNDEaH6JrVyw6dSPgQwl5Ku6G3Q0ulU%2BnFLUuyfAH7iFDzcDKmM46fLBVBx86KKgFXmdffJshZZlcbWg5W6ZipdT/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/pP4%2Fy1GJ2jnT%2FcVHmUnavgd7SNmiVyrcQ%2BSqKS6v74%2Bq3kJEYO8bbz1Q3S8nEQ2%2FfUm9f6ytYLAoGR41BugKNEnd0I6kW%2Fo%3D/image.png)
![[IMG]](proxy/1fIOLWdr44a%2BdvP7%2BET15HgEwEycp7ie4qRkXi4Iuaknvovbq2fKM4DWjWWcCCEdFJGKXHARu5DeeWYzO1G0NWw%2B7ilyMLY%3D/image.png)
![[IMG]](proxy/sJNkYUJ1Kbue1l2fKzRSZL%2FlDsEzu1OV2Z4zdnxsPSlF1RatPtRj7RGbCDeSWsrwiNDEaH6JrVyw6dSPgQwl5Ku6G3Q0ulU%2BnFLUuyfAH7iFDzcDKmM46fLBVBx86KKgFXmdffJshZZlcbWg5W6ZipdT/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/pP4%2Fy1GJ2jnT%2FcVHmUnavgd7SNmiVyrcQ%2BSqKS6v74%2Bq3kJEYO8bbz1Q3S8nEQ2%2FfUm9f6ytYLAoGR41BugKNEnd0I6kW%2Fo%3D/image.png)
![[IMG]](proxy/1fIOLWdr44a%2BdvP7%2BET15HgEwEycp7ie4qRkXi4Iuaknvovbq2fKM4DWjWWcCCEdFJGKXHARu5DeeWYzO1G0NWw%2B7ilyMLY%3D/image.png)