Search found 2 matches
- Thu Jan 11, 2024 3:31 pm
- Forum: ESP-IDF
- Topic: Unstable resume task
- Replies: 2
- Views: 25426
Re: Unstable resume task
Just for whomever interested, I followed @microcontroller great advice and came up with that code: #include <stdio.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "esp_log.h" #include <esp_err.h> #include <sys/stat.h> #include "freertos/timers.h" #include "esp_timer.h" #include...
- Thu Jan 11, 2024 7:27 am
- Forum: ESP-IDF
- Topic: Unstable resume task
- Replies: 2
- Views: 25426
Unstable resume task
Hello, I need to delay a task for variable times between 1500 to 4500 microseconds. To do so I used the High Resolution Timer (ESP Timer). To check that implementation I came up with the following piece of code: #include <stdio.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "e...