How to Multitask with FreeRTOS (ESP32 + Arduino series)

5 Просмотры
Run multiple tasks on the ESP32 with FreeRTOS. For instance: blinking two LED's at different intervals or increment two counters at the same time.

A FreeRTOS task is nothing more than a standard C (or C++) function. Nothing fancy, very easy!

Most ESP32's have a dual-core processor, so FreeRTOS will balance your tasks across cores. This technique also works for single-core versions of the ESP32. In that case, FreeRTOS will rapidly switch between tasks, giving the impression that it's multitasking.

⚡️Other videos in this series:
(Everything you need to know about programming the ESP32 by using the Arduino Framework)

???? Social

❤️ Become a Simply Explained member:

???? Newsletter:
(no more than once a month)
Комментариев нет.