Hi all, I'm a new member.
I want to read analog signal via adc with sample rate about 48khz so when I read via adc and delay about 20us. But I can't find the way how to delay microsecond in esp-idf. Please help me!
Thanks all so much.
How to delay microsecond
Re: How to delay microsecond
It might be that the function called "ets_delay_us(value)" is what you could use. Its proto type is defined in <rom/ets_sys.h>.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
Re: How to delay microsecond
I have done it by your support. Thank you so much.kolban wrote:It might be that the function called "ets_delay_us(value)" is what you could use. Its proto type is defined in <rom/ets_sys.h>.
Who is online
Users browsing this forum: No registered users and 97 guests