-
-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible bug in micros() when called inside ISR? (Due) #1301
Comments
Fixed in #1388 |
I'm not sure the issue is solved on version 1.5.4r2 or IDE, cf the issue i'm facing described here : http://forums.adafruit.com/viewtopic.php?f=19&t=44082&p=220114#p220114 actually, I think there is an issue on successive millis() calls inside ISR if the handler execution time is longer than 1 ms |
I still have this bug in IDE 1.5.7 and all other IDEs. I am using Arduino Mega and if i print (only for debug of course!) the micros in the interrupt they differ. the 2nd value is before the first, the 3rd is correct the 4th not and so on. very random. |
@NicoHood Thanks! |
Forum topic:
http://arduino.cc/forum/index.php/topic,148161.msg1136944.html#msg1136944
The text was updated successfully, but these errors were encountered: