We can use multiple delays simultaneously and independent of each other. During the delay, the code execution is continued. #include "freertos/FreeRTOS. Allows using (multiple) delays without blocking code execution. To illustrate why blocking functions are bad, I want you to imagine two. #include "sdkconfig.h" // used for log printing The Difference Between Blocking and Non-Blocking Functions. #include "certs.h" // include the connection infor for WiFi and MQTT A cloud variable is synced between your Arduino board and the Arduino Cloud. Changing esp_timer_start_once( oneshot_timer, 280 ) time from 280 to esp_timer_start_once( oneshot_timer, 1 ) would give a 1us delay. In the task void fDoParticleDetector( void * parameter ), I have a 280us delay, not using delay(), millis() and delayMicroseconds().
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |