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/Hzpz%2FRINDj80GiHFg9pE1bBijMpb%2FgKvO%2FZzIr5DebOGeTne8DRjVRi2WljGMCvPzdQy8QjIlRnKR9RP5XS4r6goV%2B5ofmOu8koorwYIDttrajqGZ60CVrSdqCDcmUwjNnTiesb4EA1RNYQ6HWN4JF9s/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/j1f7gtEVZyQrjPePNDA5kXGvwMTyZLgWwzCKXucoky97v9GsUytId9G%2FYwDJ5ikKZbXeB53rBtzYS6g1rXG8v5l3wI7axFI%3D/image.png)
![[IMG]](proxy/kDJiGe7Zfjs0Wbg4pILxDzOUI9laLO0RzJwt6sQE5eTZfs8ysBsj15LPICqSnPHXYPh9OtDtiStUxWCpoKKfygSV7REBxcg%3D/image.png)
![[IMG]](proxy/Hzpz%2FRINDj80GiHFg9pE1bBijMpb%2FgKvO%2FZzIr5DebOGeTne8DRjVRi2WljGMCvPzdQy8QjIlRnKR9RP5XS4r6goV%2B5ofmOu8koorwYIDttrajqGZ60CVrSdqCDcmUwjNnTiesb4EA1RNYQ6HWN4JF9s/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/j1f7gtEVZyQrjPePNDA5kXGvwMTyZLgWwzCKXucoky97v9GsUytId9G%2FYwDJ5ikKZbXeB53rBtzYS6g1rXG8v5l3wI7axFI%3D/image.png)
![[IMG]](proxy/kDJiGe7Zfjs0Wbg4pILxDzOUI9laLO0RzJwt6sQE5eTZfs8ysBsj15LPICqSnPHXYPh9OtDtiStUxWCpoKKfygSV7REBxcg%3D/image.png)