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/H3GT7d0WhkWm5ZPe2X4whonbtZgtnN%2FMYXuiZ0jCB12xXDy20nxPKWR9sXLKV2hN%2F%2BioZ30kqoCNs4wT7BKFrDDyzvm36N3IOBzOF%2FW%2FcvU%2FD9yul0Ip0i0I6qqQEB6QmNCHBABGVtUfqKDcz4LyEq3n/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/ug0DoU%2BBCPeI%2F0xuN6rDXqbIZXsEjgIXbeyWJG6dEEoI5gwHpqFhVHCiafLKb3r1Xv6sTP0W%2B6KuccZqdaHZOZsT3cPcaUE%3D/image.png)
![[IMG]](proxy/ugv5KJ3frhFXvSgv3pA%2Fa2BkGugwwGaCUBxHegJmaqGiefWZq9ukmZykSdAuQjO2GUw9U5K9vH3fvyyx71lbNsk4W2RlyC4%3D/image.png)
![[IMG]](proxy/H3GT7d0WhkWm5ZPe2X4whonbtZgtnN%2FMYXuiZ0jCB12xXDy20nxPKWR9sXLKV2hN%2F%2BioZ30kqoCNs4wT7BKFrDDyzvm36N3IOBzOF%2FW%2FcvU%2FD9yul0Ip0i0I6qqQEB6QmNCHBABGVtUfqKDcz4LyEq3n/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/ug0DoU%2BBCPeI%2F0xuN6rDXqbIZXsEjgIXbeyWJG6dEEoI5gwHpqFhVHCiafLKb3r1Xv6sTP0W%2B6KuccZqdaHZOZsT3cPcaUE%3D/image.png)
![[IMG]](proxy/ugv5KJ3frhFXvSgv3pA%2Fa2BkGugwwGaCUBxHegJmaqGiefWZq9ukmZykSdAuQjO2GUw9U5K9vH3fvyyx71lbNsk4W2RlyC4%3D/image.png)