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/HEAVVBsy0L9C%2BE4wPSMtAMfYyY8x%2BFvvK9NGQoA48UjjonnEhirLfYuE8OWDAS%2B%2Ff12z%2BDOXebZe95cCrD3Wm6cmm3b%2F8n2VUCisno32sevJ%2FllzSPyeBeCeTdwsPTDMlNmvpWm0mFUtw%2F0CpL%2B8IUxl/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/6DP%2FPSnnO1dJHOKollluh0t0wijzDmC%2BLqeTuFez5cjE1FiDcmpnb9yMRrBVtUsolh8TVPPvWmZ%2BHgh3AB8CtsMUpP%2F%2B%2Fuw%3D/image.png)
![[IMG]](proxy/ZpGk4CcXslGcQbSeMVIvK%2Bf45ntkwTLnINNxBzQovvW9XZ0jmoN1kMvWY39rqIZf19il6dyGiFCZKYqF6GYz2wJ5UgGgyMs%3D/image.png)
![[IMG]](proxy/HEAVVBsy0L9C%2BE4wPSMtAMfYyY8x%2BFvvK9NGQoA48UjjonnEhirLfYuE8OWDAS%2B%2Ff12z%2BDOXebZe95cCrD3Wm6cmm3b%2F8n2VUCisno32sevJ%2FllzSPyeBeCeTdwsPTDMlNmvpWm0mFUtw%2F0CpL%2B8IUxl/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/6DP%2FPSnnO1dJHOKollluh0t0wijzDmC%2BLqeTuFez5cjE1FiDcmpnb9yMRrBVtUsolh8TVPPvWmZ%2BHgh3AB8CtsMUpP%2F%2B%2Fuw%3D/image.png)
![[IMG]](proxy/ZpGk4CcXslGcQbSeMVIvK%2Bf45ntkwTLnINNxBzQovvW9XZ0jmoN1kMvWY39rqIZf19il6dyGiFCZKYqF6GYz2wJ5UgGgyMs%3D/image.png)