Arduino Forum
strange behavior in time measurement.
Projects
Programming
system
May 23, 2014, 8:53pm
4
Try disabling interrupts before you calculate dif and enable them afterwards.
show post in topic
Related topics
Topic
Replies
Views
Activity
Arduino drops time with interrupt time measurement
Programming
14
3793
May 5, 2021
Trouble with micros() [RESOLVED]
Programming
10
3143
May 5, 2021
Time returned by micros() goes backwards sometimes
Bugs & Suggestions
8
3476
May 6, 2021
Noob millis() question
Syntax & Programs
10
2922
May 6, 2021
micros() wrapping problem
Programming
22
8194
May 5, 2021