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/h3xwDMcJP4J3obhsijzlrklL%2FRMzfT6J8doZZe40Vh64MWFD7detzkJUwDFEVTuPVHzfcCXt59qIzBE8uwuO%2F2YZ94SYO9K3oKYxnTlWW6uyAmcX3xehAEDTUARxAU1%2B%2FIjoFMVH%2FLqxwJgwaFjl4dX4/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/fvj%2BGSLB6Z9WnlplBiAGkX2o6IhWSvuDIxKkif0xGJns4B2etGT%2FbdydRspeKQFFGaunEgav3zUC%2BEzR74mX1Xwgn8uL3Ks%3D/image.png)
![[IMG]](proxy/MlUI6baM0%2BArEXeetTLtPsB1rXq%2FNeKBkjwLvXY0eDxh5lQwYMjrds5EU5bcCR3TtmgXkycNs6JwfHDFD4n5xDh50gm5Czc%3D/image.png)
![[IMG]](proxy/h3xwDMcJP4J3obhsijzlrklL%2FRMzfT6J8doZZe40Vh64MWFD7detzkJUwDFEVTuPVHzfcCXt59qIzBE8uwuO%2F2YZ94SYO9K3oKYxnTlWW6uyAmcX3xehAEDTUARxAU1%2B%2FIjoFMVH%2FLqxwJgwaFjl4dX4/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/fvj%2BGSLB6Z9WnlplBiAGkX2o6IhWSvuDIxKkif0xGJns4B2etGT%2FbdydRspeKQFFGaunEgav3zUC%2BEzR74mX1Xwgn8uL3Ks%3D/image.png)
![[IMG]](proxy/MlUI6baM0%2BArEXeetTLtPsB1rXq%2FNeKBkjwLvXY0eDxh5lQwYMjrds5EU5bcCR3TtmgXkycNs6JwfHDFD4n5xDh50gm5Czc%3D/image.png)