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/u5JNaQqs98oURaVkK%2FxKpfDL9CJ9OVsVt84eMRCzD4N3Qqk3%2BZ2Ff3ibRNyfW%2FYUSUNOg5juD%2FOmXs%2FO6vgcjYSdMb7x62sx20CQ6mNhPp9Yfckt9W%2F2EREI645sCKUEbRCFkVSzdLuXdDQpUx7scmTB/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/WmcQB%2F8Sfa13jUGJc0LQfrGiwHWdi5%2BlxasCTFarwdug8arjKZ1QgUjiq2Za0Wt2ZI2SErh8JPhRygHa7nwfSNAKRE%2F4brg%3D/image.png)
![[IMG]](proxy/SJWT2bHlnV07LqrpRZpR0G23%2FxRXNalidMK1QL%2BktL2tzaO81oA5tmaaCDYLhbY5nlC3SXDg7pL%2B3QWHTfxqzKOKP7rvIHI%3D/image.png)
![[IMG]](proxy/u5JNaQqs98oURaVkK%2FxKpfDL9CJ9OVsVt84eMRCzD4N3Qqk3%2BZ2Ff3ibRNyfW%2FYUSUNOg5juD%2FOmXs%2FO6vgcjYSdMb7x62sx20CQ6mNhPp9Yfckt9W%2F2EREI645sCKUEbRCFkVSzdLuXdDQpUx7scmTB/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/WmcQB%2F8Sfa13jUGJc0LQfrGiwHWdi5%2BlxasCTFarwdug8arjKZ1QgUjiq2Za0Wt2ZI2SErh8JPhRygHa7nwfSNAKRE%2F4brg%3D/image.png)
![[IMG]](proxy/SJWT2bHlnV07LqrpRZpR0G23%2FxRXNalidMK1QL%2BktL2tzaO81oA5tmaaCDYLhbY5nlC3SXDg7pL%2B3QWHTfxqzKOKP7rvIHI%3D/image.png)