ESP32 using for measuring duty cycle

Thread Starter

MentaniP2W

Joined Dec 15, 2021
1
I have to use timer on ESP32 to count the time when signal is high, there is way to set the timer and get is value after some time without use interrupts?
 

ericgibbs

Joined Jan 29, 2010
15,348
hiP2W,
Welcome to AAC.
I assume you are using the Arduino IDE, if yes, you could consider using the 'millis' time function.
E
 
Top