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/BQZopGl5zBwbJAVQcZD%2BHXKyF4xw%2Bykh6RF%2FBqVxbZT0EhrQbVQMI%2FAQwgLuN1tpOoFdLj6YTaRo2no%2BBr6IGpFm0hKWIJef5zIsYok0HYgOHe8fsRIwGvUcV%2FPPHkmvC%2BZEivEZyZQPojn67RZsIRf1/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/W7hjuamEHQbCWBeVeM7M%2FIszOd5Yx7h4ur%2FFhQcvZUfNME%2BITNn5AzUJTs75hJD3CN5HDDkWXM%2FcDdToXgcsjDZORNRUsqE%3D/image.png)
![[IMG]](proxy/5agq49KlUHG9%2BTMEUGnGb6dtLU6YEyZuWfWqoLTSbpLMpjJyXG296H8LA75WYeQ4cHkXExTr%2FDAEgF7qY4fydmw0WqzlYeU%3D/image.png)
![[IMG]](proxy/BQZopGl5zBwbJAVQcZD%2BHXKyF4xw%2Bykh6RF%2FBqVxbZT0EhrQbVQMI%2FAQwgLuN1tpOoFdLj6YTaRo2no%2BBr6IGpFm0hKWIJef5zIsYok0HYgOHe8fsRIwGvUcV%2FPPHkmvC%2BZEivEZyZQPojn67RZsIRf1/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/W7hjuamEHQbCWBeVeM7M%2FIszOd5Yx7h4ur%2FFhQcvZUfNME%2BITNn5AzUJTs75hJD3CN5HDDkWXM%2FcDdToXgcsjDZORNRUsqE%3D/image.png)
![[IMG]](proxy/5agq49KlUHG9%2BTMEUGnGb6dtLU6YEyZuWfWqoLTSbpLMpjJyXG296H8LA75WYeQ4cHkXExTr%2FDAEgF7qY4fydmw0WqzlYeU%3D/image.png)