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/VjfXfj2TMnFQ6oHGoF%2FupQ6%2BIyKgmiKzwgHBtSpYViWLeQx9m0oPDbwY9L7EgkylQ7j4k%2BkfQDVCsXRy8gR%2F0AcGqbDtfE%2B9UIHHTT374bVYa3uRdV%2BqXxRGGJ%2FbHr%2BbrIEm6Qf8%2FAXnDD91cch9KSPr/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/aGCU1%2FGin%2BvBhr1nIN0gvBmFgxl2IHolfSgt0NKkNjxqW8udiX0VMVKTBjTEXBOx4%2B47b889GGhZG2fWPeYVvERvuE9CUNA%3D/image.png)
![[IMG]](proxy/JPNIVLYfMNTU6TU2j%2FJ%2F5r4jpacaO8RiFMZQAMecqVRlaltMM5thnEISuE4oox5NEl5xcBwNvgchgyk7cieC1ENlla%2FZ27s%3D/image.png)
![[IMG]](proxy/VjfXfj2TMnFQ6oHGoF%2FupQ6%2BIyKgmiKzwgHBtSpYViWLeQx9m0oPDbwY9L7EgkylQ7j4k%2BkfQDVCsXRy8gR%2F0AcGqbDtfE%2B9UIHHTT374bVYa3uRdV%2BqXxRGGJ%2FbHr%2BbrIEm6Qf8%2FAXnDD91cch9KSPr/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/aGCU1%2FGin%2BvBhr1nIN0gvBmFgxl2IHolfSgt0NKkNjxqW8udiX0VMVKTBjTEXBOx4%2B47b889GGhZG2fWPeYVvERvuE9CUNA%3D/image.png)
![[IMG]](proxy/JPNIVLYfMNTU6TU2j%2FJ%2F5r4jpacaO8RiFMZQAMecqVRlaltMM5thnEISuE4oox5NEl5xcBwNvgchgyk7cieC1ENlla%2FZ27s%3D/image.png)