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/N%2BGKLZ2WtYT5PnhCsljyb1BYhXYJqkLN7lKHmBAIK01pMx%2FoF0XmlABcFckY%2ByrS0O6s4qQSOANJb0A7l%2F5%2BoJ%2Bamxz08O0P3ZWRb7R10n4jz7NzkjHFrjJ2MdbkKYjrhi7rKpns%2FLh4E0A3oaK2nmNk/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/PgEm6VDBzEXSZQF2dorPPdO15YYeDZZq3UV2ilZxrmGawWM%2BAKloMCRjxFCkM5odNEiAJVgU4wowtWcoccnKqtjiRNQliTQ%3D/image.png)
![[IMG]](proxy/J5i9TdWxokNoLxyznyA%2FKdF68EfYkCrBef7JPe10PjF%2F2r7rc28tdGW21FWVfJYBlIgPgEciSLlcD7lU%2FcLiNZEUQqfts5E%3D/image.png)
![[IMG]](proxy/N%2BGKLZ2WtYT5PnhCsljyb1BYhXYJqkLN7lKHmBAIK01pMx%2FoF0XmlABcFckY%2ByrS0O6s4qQSOANJb0A7l%2F5%2BoJ%2Bamxz08O0P3ZWRb7R10n4jz7NzkjHFrjJ2MdbkKYjrhi7rKpns%2FLh4E0A3oaK2nmNk/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/PgEm6VDBzEXSZQF2dorPPdO15YYeDZZq3UV2ilZxrmGawWM%2BAKloMCRjxFCkM5odNEiAJVgU4wowtWcoccnKqtjiRNQliTQ%3D/image.png)
![[IMG]](proxy/J5i9TdWxokNoLxyznyA%2FKdF68EfYkCrBef7JPe10PjF%2F2r7rc28tdGW21FWVfJYBlIgPgEciSLlcD7lU%2FcLiNZEUQqfts5E%3D/image.png)