start/stop code and frequency input #36
holgerlembke
started this conversation in
Ideas
Replies: 1 comment
-
Hopefully this tool helps getting a deeper understanding of how timers work, all they can do, and the limitations of each mode. |
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
-
for Arduino ATMEGA328 I use http://www.8bit-era.cz/arduino-timer-interrupts-calculator.html when I need a timer with a specific frequency. I like it, because it is a down to the point solution: input cpu freq and desired frequency, bingo, code, done.
AWT needs more thinking about what I want and what I need to click... Might be overwhelming for the casual user.
My goal was to get a timer3 with 1000 Hz on a 16 MHz lgt8f328p.
-- First problem: any way to enter 1000 Hz? I found none, I think AWT works the other way round only.
-- I wanted start/stop the timer, so I need start and stop code.
Beta Was this translation helpful? Give feedback.
All reactions