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/UMV2ZDM9%2FquG8R0LqrijfgXLZV9HB883oWphNUBM%2BvXxxgjEa4s4qqtNzJEiVX1gMhFEHCuHB04lHhXz%2BPUoqp3a44%2Fy5%2BXECq3WT7b0Q1vE4bteMDGFeKDK8YxWJEXxKVBqfDmWc%2FCE5vHAj3nbZlBw/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/m3OiW0Ug9CrPZyPVVLa30Zf%2BnaI9JKD9zLKLvHn1A56GP4I1uo9SOrAt1iLTl%2FVlwK3SykgnP2dKDkyCU4Z3yXSJ3fMsjio%3D/image.png)
![[IMG]](proxy/MVKW0exdE%2FulcJ2AZ2H%2BV%2FxKCNcv4Yl8MSGZaZG8Ot%2B9skdRmtbjE8f5gsBaGPbMNgnC%2FNlHwanN%2BVE9vDosOqHM3sfFjys%3D/image.png)
![[IMG]](proxy/UMV2ZDM9%2FquG8R0LqrijfgXLZV9HB883oWphNUBM%2BvXxxgjEa4s4qqtNzJEiVX1gMhFEHCuHB04lHhXz%2BPUoqp3a44%2Fy5%2BXECq3WT7b0Q1vE4bteMDGFeKDK8YxWJEXxKVBqfDmWc%2FCE5vHAj3nbZlBw/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/m3OiW0Ug9CrPZyPVVLa30Zf%2BnaI9JKD9zLKLvHn1A56GP4I1uo9SOrAt1iLTl%2FVlwK3SykgnP2dKDkyCU4Z3yXSJ3fMsjio%3D/image.png)
![[IMG]](proxy/MVKW0exdE%2FulcJ2AZ2H%2BV%2FxKCNcv4Yl8MSGZaZG8Ot%2B9skdRmtbjE8f5gsBaGPbMNgnC%2FNlHwanN%2BVE9vDosOqHM3sfFjys%3D/image.png)