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/DJRXSUUnuRlBPmJ%2FkBskHc9Z4zvEfVkyDUYMl3ugXnL%2BNELX%2B2IRsDiUqtwH5rI0oeFciCubhAG7IyeetU5ClAbZheaHlcsjq7rhPD%2Bd%2B4UxaiHoTWTuN8PvCOetkQ8sb%2ByTr5Tuob3982qXPsSuh7DI/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/kbuJV8zHv9EpBeJmrWBFpPzSIxIGL0kGUuXwsPOJrUUk0uKLHSjrOyL43fWap9cm%2FqaB0IvMhOSMaIuF05xmRFGHUUg3Rf8%3D/image.png)
![[IMG]](proxy/LkCJPOlamLg4PvKVSUNS9RITdyMC0arzhjHYiFXCsX5rRcq3PDn5RjZyuPOTINw1H439hOVL8whtfg7qMu99MboLh%2BCr23U%3D/image.png)
![[IMG]](proxy/DJRXSUUnuRlBPmJ%2FkBskHc9Z4zvEfVkyDUYMl3ugXnL%2BNELX%2B2IRsDiUqtwH5rI0oeFciCubhAG7IyeetU5ClAbZheaHlcsjq7rhPD%2Bd%2B4UxaiHoTWTuN8PvCOetkQ8sb%2ByTr5Tuob3982qXPsSuh7DI/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/kbuJV8zHv9EpBeJmrWBFpPzSIxIGL0kGUuXwsPOJrUUk0uKLHSjrOyL43fWap9cm%2FqaB0IvMhOSMaIuF05xmRFGHUUg3Rf8%3D/image.png)
![[IMG]](proxy/LkCJPOlamLg4PvKVSUNS9RITdyMC0arzhjHYiFXCsX5rRcq3PDn5RjZyuPOTINw1H439hOVL8whtfg7qMu99MboLh%2BCr23U%3D/image.png)