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/bQgCH3999YFxP7JQ2fTGJbPsTWVekNrwCvxmUTmVYRe7OaNqHxZsUJ2%2BmzmiyIgWthbNrJ2AM%2FPEw196L0NIz3S1B9hADOFjjCb2ls0kf5PD7K8Pzx9IZ4Oq0SWWBfFeMa21pSdciV0%2FaEg%2B1QpZ1srS/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/4%2BxCEtR8DHqvJTs346ygNooV1TDR3kV2uHU66z%2BO8L9Ao8lpn2v9bW3B5djHzAjMx5wQVZVz1erqFjJWc56wRyXUPO3QqdA%3D/image.png)
![[IMG]](proxy/Tbn9hX7Hbg1YSYFXEaG16OZaYFTTtT6%2BnB53oPMLc6DXu9LR%2BjKwBg66q0MKu8tcTu2KYJIAaIs1QwArNBSL4gorejrmhtM%3D/image.png)
![[IMG]](proxy/bQgCH3999YFxP7JQ2fTGJbPsTWVekNrwCvxmUTmVYRe7OaNqHxZsUJ2%2BmzmiyIgWthbNrJ2AM%2FPEw196L0NIz3S1B9hADOFjjCb2ls0kf5PD7K8Pzx9IZ4Oq0SWWBfFeMa21pSdciV0%2FaEg%2B1QpZ1srS/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/4%2BxCEtR8DHqvJTs346ygNooV1TDR3kV2uHU66z%2BO8L9Ao8lpn2v9bW3B5djHzAjMx5wQVZVz1erqFjJWc56wRyXUPO3QqdA%3D/image.png)
![[IMG]](proxy/Tbn9hX7Hbg1YSYFXEaG16OZaYFTTtT6%2BnB53oPMLc6DXu9LR%2BjKwBg66q0MKu8tcTu2KYJIAaIs1QwArNBSL4gorejrmhtM%3D/image.png)