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/4hBhetrn92Junhb7TGLaFhEZkIhdm%2BijHjUmFQ6U9RGRlDQ99VuLKadYr%2B%2BA7uiLk46oaRwHqzBT8rn3ROCLnf9fpmORxlVx8KutZy4F83FImgY6vZhW6di6dXkSVbTmRTXL%2Fe8xrFiZklV37coHlPhB/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/MHJqGTvcaJAItgvTnK0wm2Q2QsyRyH2L2WiP1BzRxKGVvHbNQ45Ms950kBjWlUIuSgZvTrl5Y8FH1r4zohjdsOOTGGWdbXc%3D/image.png)
![[IMG]](proxy/1uZNUiGIft54ThxMzH%2F%2BD0WbQ5OcMvzwSmay2LHvuCLqvT3UDYCofpEhXWgyOj8WjIw2%2F5oJYXBY%2BcqQ3fAVpD2vOr7E71s%3D/image.png)
![[IMG]](proxy/4hBhetrn92Junhb7TGLaFhEZkIhdm%2BijHjUmFQ6U9RGRlDQ99VuLKadYr%2B%2BA7uiLk46oaRwHqzBT8rn3ROCLnf9fpmORxlVx8KutZy4F83FImgY6vZhW6di6dXkSVbTmRTXL%2Fe8xrFiZklV37coHlPhB/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/MHJqGTvcaJAItgvTnK0wm2Q2QsyRyH2L2WiP1BzRxKGVvHbNQ45Ms950kBjWlUIuSgZvTrl5Y8FH1r4zohjdsOOTGGWdbXc%3D/image.png)
![[IMG]](proxy/1uZNUiGIft54ThxMzH%2F%2BD0WbQ5OcMvzwSmay2LHvuCLqvT3UDYCofpEhXWgyOj8WjIw2%2F5oJYXBY%2BcqQ3fAVpD2vOr7E71s%3D/image.png)