Code: Select all
/* Wait loop for 5ms */
unsigned long time = esp_timer_get_time() + (5 * 1000);
while(esp_timer_get_time() < time);
Any idea on this?
Code: Select all
/* Wait loop for 5ms */
unsigned long time = esp_timer_get_time() + (5 * 1000);
while(esp_timer_get_time() < time);
Users browsing this forum: No registered users and 96 guests