Closed Flowneee closed 2 years ago
Let me know if I could provide anything else.
Please try again, because much has be changed & improved last fifteen months.
Please try again
Thank you, bu unfortunately I am unable to test it now. I am gonna close this issue, if somehow I will be able to try it and something doesn't work, I wil open a new issue
Hi! I'm trying to use this crate and encountered problem: delay is TOO short when library is added as dependency. I use this code for blink LED:
Also interesting thing: when I upload program with
avrdude
, version withavr_delay
dependency is much bigger than version with only local copy:I also tested:
avr_dude
on my machine and import withavr_delay = { path = ... }
;avr_config
);but all the same, if I use
avr_delay
from external dependency, it works way too fast.I'm using Arduino Mega 2560 (or maybe it is Chinese clone, I'm not sure). My target:
Let me know if I could provide anything else.
P.S. Local copy only works properly when
opt-level
set to 2 or 3, maybe this is somehow helpful.P.P.S. Code is still super useful, it is very easy and intuitive for beginner like me, thanks!