Hi Everyone,
Can anyone please suggest me an effective way to calculate time between two rising edges.
and i'm reading this rising edge on our GPIO pins
Calculating Time Between two rising edge
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Calculating Time Between two rising edge
You'll need to supply a bit more information for us to offer a meaningful reply. What is the minimum time interval you expect to measure and what accuracy are you hoping for? As a very general point, if you're talking sub millisecond accuracy ESP32 is not very good at this kind of thing, at least until RMT input is supported.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.