Hello everyone,I read on arduino.cc/en/reference/micros that I can know the number of microseconds since the Arduino began running the program. On my 16 MHz Arduino Uno board, the function has a resolution of four microseconds and less with a 8 MHz board. I found the arduino Due (arduino.cc/en/Main/ArduinoBoardDue) and it has a 84 MHz clock speed. Could I have a better resolution than 4 µs ? I would like to have a precision with nanos seconds.
The code for micros() is quite complex on the Due, I suspect it won't give much betteraccuracy. However the underlying tick count is available fast, its just the accountingfor its overflow that is tricky.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16