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/uEB4vTJLcuI5poMr04eaf4fT4cqkPAi3f3ep%2Bz2BP%2B9zYkr9PR6Ov%2BoPra7HMxfOOJ3%2FffP1Pb57S3f5K0IXFJa0mFjIE0LTDgKp0o%2FcgAVhfjItHf60THrMVFScPHVXwkvRNj0ZWDcsHh1RAeHuIsGf/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/N6uAlM4ibC2gE%2FgheZYdZ0n7VHg0ZrhaqTEx2Mw6wQq%2FrG1lqzgEjfpcBTYogqMAg8VH8k62XRNHqmnaZ6osbE3MNE3bJQI%3D/image.png)
![[IMG]](proxy/uUCH%2BXaAedyD6bu3uwkWxLWW98zRPRebn5Ewd1yneYNxWUxSCqxz4dp6IHIv%2BO9lWVTWZfkDLRNxWjWcKdYXeJMQ4N4015k%3D/image.png)
![[IMG]](proxy/uEB4vTJLcuI5poMr04eaf4fT4cqkPAi3f3ep%2Bz2BP%2B9zYkr9PR6Ov%2BoPra7HMxfOOJ3%2FffP1Pb57S3f5K0IXFJa0mFjIE0LTDgKp0o%2FcgAVhfjItHf60THrMVFScPHVXwkvRNj0ZWDcsHh1RAeHuIsGf/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/N6uAlM4ibC2gE%2FgheZYdZ0n7VHg0ZrhaqTEx2Mw6wQq%2FrG1lqzgEjfpcBTYogqMAg8VH8k62XRNHqmnaZ6osbE3MNE3bJQI%3D/image.png)
![[IMG]](proxy/uUCH%2BXaAedyD6bu3uwkWxLWW98zRPRebn5Ewd1yneYNxWUxSCqxz4dp6IHIv%2BO9lWVTWZfkDLRNxWjWcKdYXeJMQ4N4015k%3D/image.png)