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/TfWHauToQxvFyQfAWIxLM18GVnvlTwCgUCeG%2BdhE3P8keON0I4i4tZAAYbX6fGHLTqzldHrL3NNXh3hBUdRn1twjFsak%2F%2BELCCSEZz%2BIiLbpsG5VRpsN%2BVx3pt2OG%2BXFjp1dP7kejIKkT%2FNLarmB6T2w/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/%2FOXPkOmOIsGk4gG8LGcvIGGx8RTjrSNNJpJoNknM2ML6VNFExOnhUmeJTERckm%2FAyRVKxNV6JFkkIwqvS%2Fk5%2FvWM91HHB%2Fs%3D/image.png)
![[IMG]](proxy/Cg4HTV1Nm1tg98dKsAy%2Bvvu%2BNBRl8%2BKHeEXPTgGPOGvHTuPopy5%2BqioTmJ4v5QqYZ1FXPAy0r3BY89%2BF1D0Jm2yKvyfmnjA%3D/image.png)
![[IMG]](proxy/TfWHauToQxvFyQfAWIxLM18GVnvlTwCgUCeG%2BdhE3P8keON0I4i4tZAAYbX6fGHLTqzldHrL3NNXh3hBUdRn1twjFsak%2F%2BELCCSEZz%2BIiLbpsG5VRpsN%2BVx3pt2OG%2BXFjp1dP7kejIKkT%2FNLarmB6T2w/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/%2FOXPkOmOIsGk4gG8LGcvIGGx8RTjrSNNJpJoNknM2ML6VNFExOnhUmeJTERckm%2FAyRVKxNV6JFkkIwqvS%2Fk5%2FvWM91HHB%2Fs%3D/image.png)
![[IMG]](proxy/Cg4HTV1Nm1tg98dKsAy%2Bvvu%2BNBRl8%2BKHeEXPTgGPOGvHTuPopy5%2BqioTmJ4v5QqYZ1FXPAy0r3BY89%2BF1D0Jm2yKvyfmnjA%3D/image.png)