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/rX4%2FK37So3esQyDuxIKWOuCJnVCZfu%2BNrkLSj9pdwJI8l0Mq34IoaJfRJLaAUz0VIA2dOqlmQtJoIiu3jXBKLf4XL0GwJ1ynusnx3gmvNHX5t5YMgj6B%2BcIYEN59oAOnTWgU%2ByEfUyj3vsb0Gxb7atan/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/2fx3aHJTcd7iSR%2BKjMXlF8cHhd9KWt6krWl9EOkcJXwFPwKm6RvAZdtp3UY0CXazRmMvzWbkSuli3d%2BaeRxKSqPC4YcvnZM%3D/image.png)
![[IMG]](proxy/cBFkE675wHr566aE5d6YcL41yvyh%2B2Go5j9eMbPq3vKqz1UMuVufTFS1n%2Bz7MX83ESb4E5na3NflJnnx7N1MkX%2BgVwFeE1s%3D/image.png)
![[IMG]](proxy/rX4%2FK37So3esQyDuxIKWOuCJnVCZfu%2BNrkLSj9pdwJI8l0Mq34IoaJfRJLaAUz0VIA2dOqlmQtJoIiu3jXBKLf4XL0GwJ1ynusnx3gmvNHX5t5YMgj6B%2BcIYEN59oAOnTWgU%2ByEfUyj3vsb0Gxb7atan/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/2fx3aHJTcd7iSR%2BKjMXlF8cHhd9KWt6krWl9EOkcJXwFPwKm6RvAZdtp3UY0CXazRmMvzWbkSuli3d%2BaeRxKSqPC4YcvnZM%3D/image.png)
![[IMG]](proxy/cBFkE675wHr566aE5d6YcL41yvyh%2B2Go5j9eMbPq3vKqz1UMuVufTFS1n%2Bz7MX83ESb4E5na3NflJnnx7N1MkX%2BgVwFeE1s%3D/image.png)