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/uGaKDIWrAqe8H3kKB8boLw4McTvcT0hFsSrzrkFgDNBpMPVpgPdDW5YToRd5YQ8ZNqD1BKrrJlWyYrnDNE8gouidfHjVBYSn%2BHU%2BM7N2D4F5FPVbg2kF1uYKEi4t%2F5mJdBR8LHXWJDKGkuE1wlf5MAXx/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/hLlPd7XliKTHjAnjDO%2BAFvZx16XV3SA%2FPhrAU%2FnQn19R%2F29Pq3RPfTYLg%2F6O0oms4IdZFHIwTEpgk7CMYhaV6k3wSyW%2BM%2Bw%3D/image.png)
![[IMG]](proxy/vNFRCeQalRKs7rEOgU%2BQCbW8UICoAw4bQcxbT97zXYx9pIHaMEvxwG3XwBz%2FxAOUPrtmPKy7i8XdXJUYQyoIPArySOq5OpY%3D/image.png)
![[IMG]](proxy/uGaKDIWrAqe8H3kKB8boLw4McTvcT0hFsSrzrkFgDNBpMPVpgPdDW5YToRd5YQ8ZNqD1BKrrJlWyYrnDNE8gouidfHjVBYSn%2BHU%2BM7N2D4F5FPVbg2kF1uYKEi4t%2F5mJdBR8LHXWJDKGkuE1wlf5MAXx/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/hLlPd7XliKTHjAnjDO%2BAFvZx16XV3SA%2FPhrAU%2FnQn19R%2F29Pq3RPfTYLg%2F6O0oms4IdZFHIwTEpgk7CMYhaV6k3wSyW%2BM%2Bw%3D/image.png)
![[IMG]](proxy/vNFRCeQalRKs7rEOgU%2BQCbW8UICoAw4bQcxbT97zXYx9pIHaMEvxwG3XwBz%2FxAOUPrtmPKy7i8XdXJUYQyoIPArySOq5OpY%3D/image.png)