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/czzlDcT4lAxGOVmCHCp07E9gVD4BObNVjwg7dnxyLkmOTJORapccjMMiNJE28VVDI6NpXdKp8j5UoRUB2ny9%2BuzF2uy2EL%2FB4RfzeN3nPgS2v8v6aSB%2BZekZHa6ySth8vRERSoH%2Bq82370EvyzUrAdh2/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/tAijmoHd4W62CmK4yuxWkU%2FuPSKnqgD0nusxLAO4st0cgPptqBDFnYuX4rUv9Kaz7Ni0k0uH9I1VBELg0Xpa4VIEioBSQk4%3D/image.png)
![[IMG]](proxy/dy3fqXLYH7%2BoUZjXmajco%2F%2BrKFVhuSuvmcbuAibVgFD8bP8GCeZcp8JsXlCnJBFyrTS7mPeLwY0ESl3ajtQncCtL8iCQ%2B8U%3D/image.png)
![[IMG]](proxy/czzlDcT4lAxGOVmCHCp07E9gVD4BObNVjwg7dnxyLkmOTJORapccjMMiNJE28VVDI6NpXdKp8j5UoRUB2ny9%2BuzF2uy2EL%2FB4RfzeN3nPgS2v8v6aSB%2BZekZHa6ySth8vRERSoH%2Bq82370EvyzUrAdh2/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/tAijmoHd4W62CmK4yuxWkU%2FuPSKnqgD0nusxLAO4st0cgPptqBDFnYuX4rUv9Kaz7Ni0k0uH9I1VBELg0Xpa4VIEioBSQk4%3D/image.png)
![[IMG]](proxy/dy3fqXLYH7%2BoUZjXmajco%2F%2BrKFVhuSuvmcbuAibVgFD8bP8GCeZcp8JsXlCnJBFyrTS7mPeLwY0ESl3ajtQncCtL8iCQ%2B8U%3D/image.png)