Replies: 1 comment
-
here's new version of the driver repo this supports higher resolution for both Instants and scheduling it uses TC1 instead example code driving stepper motor i found it 0.5ms step to be unstable not recommended this code can run at the same time while other async code running set source clock by changing feature on embassy_time_drvier [dependencies]
embassy-time-driver = { version = "0.1.0", features = ["tick-hz-16_000_000"]} set prescalar with feature [dependencies.avr_tc1_embassy_time]
path = "../avr_embassy_time"
default-features = false
features = ["prescalar64"] embassy_time is very lightweight and you can use it even without embassy so i'll recommend to use this crate even if you won't use async code |
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
-
embassy_time driver for avr
example
patch for embassy
Beta Was this translation helpful? Give feedback.
All reactions