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/a4O3Fg%2FwHS7zmMr8QkrRjSKZqWMzFYGOL7JYNao%2FU%2F29aiiBYNv4FkwNSXe4lxTiNSZn45P8DIKa91Xh4U8ZpGx8YM%2FZG2qQgXVU2bVKASohXBlG%2B9E7UqVEzBEBSWzUhkrnUVgMHhpIPodq%2F%2ByB6eyp/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/nheZtN8atAqVkvH39U7rEu63ROay27hYCMarQwcWeObZVc7fkv6EBo6A75CkO4UCO30c%2Befi8yPU6tbvsacIqJx%2F%2BFRGX6I%3D/image.png)
![[IMG]](proxy/mwMOf6Y2n6hj%2BVoOTZB1q7Z1%2BjRceL3Kp9SCJGyZJZ%2FqoGuixrGQsT8MSsKQJ0XxHQ8wO8Lg87ybYjn6NwSzK5vD4iwQcuA%3D/image.png)
![[IMG]](proxy/a4O3Fg%2FwHS7zmMr8QkrRjSKZqWMzFYGOL7JYNao%2FU%2F29aiiBYNv4FkwNSXe4lxTiNSZn45P8DIKa91Xh4U8ZpGx8YM%2FZG2qQgXVU2bVKASohXBlG%2B9E7UqVEzBEBSWzUhkrnUVgMHhpIPodq%2F%2ByB6eyp/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/nheZtN8atAqVkvH39U7rEu63ROay27hYCMarQwcWeObZVc7fkv6EBo6A75CkO4UCO30c%2Befi8yPU6tbvsacIqJx%2F%2BFRGX6I%3D/image.png)
![[IMG]](proxy/mwMOf6Y2n6hj%2BVoOTZB1q7Z1%2BjRceL3Kp9SCJGyZJZ%2FqoGuixrGQsT8MSsKQJ0XxHQ8wO8Lg87ybYjn6NwSzK5vD4iwQcuA%3D/image.png)