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/NsmCB%2F2XQ5upCnUZNhblpuXrV8dCfnfDFMOW6rQeOeUzIv0E4LrrMwkzWlX72A1T%2Fv9wZgWEkjsFotdO3K%2Bnt%2Fa%2B8kV2CK2eple2bNjm1n6DRt49dLBm0HuEr5KjefYtkPAFPyTFOM6bYQ75bvpT6fOp/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/3a9pOyBx4eZDwrG9cDMF4aL5rfEorofYplh%2BjlZ9fCkUyWW6DW%2BwznStfA09cJ1OU3XPD892cfeI9q9hRLOG8RAFLnCWlAw%3D/image.png)
![[IMG]](proxy/OaIZuyeSEUEJxOQP4xPeqptMzGbZw5Mt%2FWjsb17l6ydmdkjDQbGSlpDDd00Ti1XRtc8%2BKjfpKdFuZBH%2BZZSzBYQIcvxCZN4%3D/image.png)
![[IMG]](proxy/NsmCB%2F2XQ5upCnUZNhblpuXrV8dCfnfDFMOW6rQeOeUzIv0E4LrrMwkzWlX72A1T%2Fv9wZgWEkjsFotdO3K%2Bnt%2Fa%2B8kV2CK2eple2bNjm1n6DRt49dLBm0HuEr5KjefYtkPAFPyTFOM6bYQ75bvpT6fOp/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/3a9pOyBx4eZDwrG9cDMF4aL5rfEorofYplh%2BjlZ9fCkUyWW6DW%2BwznStfA09cJ1OU3XPD892cfeI9q9hRLOG8RAFLnCWlAw%3D/image.png)
![[IMG]](proxy/OaIZuyeSEUEJxOQP4xPeqptMzGbZw5Mt%2FWjsb17l6ydmdkjDQbGSlpDDd00Ti1XRtc8%2BKjfpKdFuZBH%2BZZSzBYQIcvxCZN4%3D/image.png)