Manage FreeRTOS tasks - Suspend, Delay, Resume, Delete (ESP32 + Arduino series)

  Рет қаралды 34,273

Simply Explained

Simply Explained

3 жыл бұрын

Once you have FreeRTOS tasks running, you might want to manage them. The scheduler can stop, suspend, and resume individual tasks. You can control tasks from within or you can use task handles to control them from anywhere in your code.
⚡️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: savjee.be
❤️ Become a Simply Explained member: / @simplyexplained
💌 Newsletter: newsletter.savjee.be
(no more than once a month)

Пікірлер: 25
@colormaker5070
@colormaker5070 10 ай бұрын
Video is 2 years old and still helping the maker community. I have searched for hours on task examples and yours was exactly what I needed. The suspend and resumed gave me the “one shot” trigger option I needed.
@simplyexplained
@simplyexplained 10 ай бұрын
Glad I could help!
@balachandarjeyalatha868
@balachandarjeyalatha868 3 ай бұрын
Best lecture on free rtos please continue the series of free rtos.Thanks for making 🎉
@ultrameganoob6979
@ultrameganoob6979 8 ай бұрын
I can't thank this guy enough!
@axramar7743
@axramar7743 15 сағат бұрын
Very Good tutorial💫
@mr.moonlight3000
@mr.moonlight3000 Жыл бұрын
This was very Helpful Sir. THANKS A LOT for this Explanation
@gabrielpimentelgomes3195
@gabrielpimentelgomes3195 3 жыл бұрын
Very well explained.
@eamonhannon1103
@eamonhannon1103 2 жыл бұрын
Good . Very clear presentation
@handlewithoutsuitcase
@handlewithoutsuitcase 11 ай бұрын
Thanks for this lesson! I just missed one thing - who is managing the value of task1_handle? You provided the pointer to the handle to the Scheduler - does that mean he does change it’s value according to the current Scheduler’s settings?
@TamPham-oj4os
@TamPham-oj4os 2 жыл бұрын
Create new task and delete it when not in use or suspend and resume when I need it. Which one is the best choice ?? Thanks
@Roudter
@Roudter 11 ай бұрын
Really good, helpful and direct. Just great. Thanks!
@portillajoe
@portillajoe Жыл бұрын
Where can I learn more about freertos with arduino? any book you would recommend?
@MaxKlax
@MaxKlax 2 жыл бұрын
When I resume the first task - it spools about 20 messages in a row with no delays at all. When I'm deleting first task from main loop - I'm getting kernel panic. So be really careful with those tasks and handlers
@MPElectronique
@MPElectronique 3 жыл бұрын
VERY GOOD THANKS!!! :))
@edwintjoa6099
@edwintjoa6099 2 жыл бұрын
Thanks for the video. May I suggest to use count1 == 3 instead of count1 > 3 as it might give weird results after the task 1 is resumed.
@je9503
@je9503 Жыл бұрын
Thank you so much! This probably saved me a few hours :D
@uyennguyenngocphuong2826
@uyennguyenngocphuong2826 3 жыл бұрын
so useful
@surflaweb
@surflaweb 2 жыл бұрын
Thanks bro.
@madcow3417
@madcow3417 Жыл бұрын
Shouldn't vTaskSuspendAll suspend the task that called it (superImportantTask), or is there an automatic exemption for the calling task?
@ismailsapmaz381
@ismailsapmaz381 2 жыл бұрын
thank you sir
@redmundperrz7234
@redmundperrz7234 Жыл бұрын
Can RTOS run on 8bit MCU?
@ahmadsadiq40
@ahmadsadiq40 Жыл бұрын
Hello sir . I got many errros in vs code when i build the code. Freertos erros many time. Can you please help me to solve it?
@kayakMike1000
@kayakMike1000 2 жыл бұрын
Yeah.... I dunno about this... Task handles to control other tasks... Why not just ask the operating system to stop the other task? Is that not a thing in freeRTOZ...?
@marquezchris2210
@marquezchris2210 3 жыл бұрын
DFRobot FireBeetle ESP32 IoT Microcontroller (Supports Wi-Fi & Bluetooth)
Keep WiFi Connection Alive with FreeRTOS Task (ESP32 + Arduino series)
6:15
Introduction to RTOS Part 5 - Queue | Digi-Key Electronics
12:01
Why? 😭 #shorts by Leisi Crazy
00:16
Leisi Crazy
Рет қаралды 44 МЛН
Chips evolution !! 😔😔
00:23
Tibo InShape
Рет қаралды 40 МЛН
How to Multitask with FreeRTOS (ESP32 + Arduino series)
6:25
Simply Explained
Рет қаралды 78 М.
How To Install PlatformIO (ESP32 + Arduino series)
5:17
Simply Explained
Рет қаралды 76 М.
Why Use PlatformIO instead of Arduino? (ESP32 + Arduino series)
2:55
Simply Explained
Рет қаралды 52 М.
Wakeup From Sleep With a Timer (ESP32 + Arduino series)
3:58
Simply Explained
Рет қаралды 22 М.
AMD больше не конкурент для Intel
0:57
ITMania - Сборка ПК
Рет қаралды 450 М.
Добавления ключа в домофон ДомРу
0:18
3D printed Nintendo Switch Game Carousel
0:14
Bambu Lab
Рет қаралды 4,5 МЛН
Very Best And Good Price Smart Phone
0:42
SDC Editing Zone 9K
Рет қаралды 217 М.