botofancalin / M5Stack-ESP32-Oscilloscope

A fully functional oscilloscope based on ESp32 M5Stack
MIT License
134 stars 23 forks source link

Using delayMicroseconds in RTOS cause crashed #1

Closed masrodjie closed 5 years ago

masrodjie commented 5 years ago

Using delayMicroseconds in RTOS cause crashed. You should use vTaskDelay

botofancalin commented 5 years ago

Get the latest esp32Arduino then try again. It work's just fine. vTaskDelay has a resolution of milliseconds at RTOS tick rate of 1000Hz So vTaskDelay is not an option for microseconds.