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: Baidu [Spider] and 127 guests