ESP32 Arduino: Getting available messages and free spaces of FreeRTOS queue

The objective of this post is to explain how to check how many messages are available on a FreeRTOS queue, without consuming them. We will also check how to use the API to get how many free spaces are still available on the same queue. The tests of this ESP32 tutorial were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board.

Continue reading “ESP32 Arduino: Getting available messages and free spaces of FreeRTOS queue”