keep track of system time #458
Closed
djdisodo
started this conversation in
Show and tell
Replies: 1 comment
-
Just as another data point, I implemented something similar in https://blog.rahix.de/005-avr-hal-millis/ with the code in https://github.com/Rahix/avr-hal/blob/main/examples/arduino-uno/src/bin/uno-millis.rs. But in the long run, I agree that it would be nice to provide a generic implementation of this that others can use. Not sure whether this fits into the HAL (due to the interrupt) or a separate crate... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
this code is for uno and values came out of nowhere
(not great, not terrible precision-inturruptFrequency balance)
how do you think?
would it be better to have library for this?
Beta Was this translation helpful? Give feedback.
All reactions