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/wvEuF56rK8uvWLOo%2F0vR90yIl3MwSggVjsv1Uu5H%2FNIb%2BVVr3ty2WBS2g%2B87YuVT7JE9d7k6s9i6dH6%2FlH98l7PdWWIdDsd0zLVh6g%2BbfqfikhqDrapYO0%2BsgZi4W1f4q8RrrCAowjU4ta2qwgA9QmDb/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/OJKs6cWZVuOBFPINb2F1%2By3ziTay%2B6i067VdubXgyK4IGSHULwMZGl5AnbO8S3bDHfYYJnewy0CkjMp2A0tpXXz0MsxNMic%3D/image.png)
![[IMG]](proxy/WQ30Ti%2FJiji%2BiGovCrZ8fH%2FZL8Cvme5IuwhMOt24HbNWiA7H0mE66NQzTqR1ZJJdWie9PxlCwZ3vwZSV%2Fc4jMqwJwVyOqHA%3D/image.png)
![[IMG]](proxy/wvEuF56rK8uvWLOo%2F0vR90yIl3MwSggVjsv1Uu5H%2FNIb%2BVVr3ty2WBS2g%2B87YuVT7JE9d7k6s9i6dH6%2FlH98l7PdWWIdDsd0zLVh6g%2BbfqfikhqDrapYO0%2BsgZi4W1f4q8RrrCAowjU4ta2qwgA9QmDb/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/OJKs6cWZVuOBFPINb2F1%2By3ziTay%2B6i067VdubXgyK4IGSHULwMZGl5AnbO8S3bDHfYYJnewy0CkjMp2A0tpXXz0MsxNMic%3D/image.png)
![[IMG]](proxy/WQ30Ti%2FJiji%2BiGovCrZ8fH%2FZL8Cvme5IuwhMOt24HbNWiA7H0mE66NQzTqR1ZJJdWie9PxlCwZ3vwZSV%2Fc4jMqwJwVyOqHA%3D/image.png)