How to Multitask with FreeRTOS (ESP32 + Arduino series)
Simply Explained Simply Explained
463K subscribers
75,341 views
0

 Published On Mar 10, 2021

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:
   • ESP32 + Arduino  
(Everything you need to know about programming the ESP32 by using the Arduino Framework)

🌍 Social
Twitter:   / savjee  
Facebook:   / savjee  
Blog: https://savjee.be

❤️ Become a Simply Explained member:    / @simplyexplained  

💌 Newsletter: http://newsletter.savjee.be
(no more than once a month)

show more

Share/Embed