ESP32 Arduino: Communication between tasks using FreeRTOS queues

The objective of this post is to explain how to use FreeRTOS queues to communicate between two different tasks. The tests were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. Introduction The objective of this post is to explain how to use FreeRTOS queues to achieve inter task communication, using the Arduino core. Besides communication amongst …

ESP32 Arduino: Getting FreeRTOS tasks priority

The objective of this post is to explain how to get the priorities of FreeRTOS tasks, using the ESP32 and the Arduino environment. Introduction The objective of this post is to explain how to get the priorities of FreeRTOS tasks, using the ESP32 and the Arduino environment. Task priorities are a very important concept for FreeRTOS because they …

ESP32 Arduino: Passing a variable as argument of a FreeRTOS task

The objective of this post is to explain how to pass a variable as argument of a function implementing a FreeRTOS task. Introduction The objective of this post is to explain how to pass a variable as argument of a function implementing a FreeRTOS task. In order to understand this code, we will analyse first …