Replies: 1 comment 2 replies
-
|
Hi there! |
Beta Was this translation helpful? Give feedback.
2 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.
-
Good morning.
May be an error of mine, but I believe that in Web Page -> https://dbuezas.github.io/arduino-web-timers
when you select Timer, Top value of timer, Clock prescaler or external source, Output A ->Interrupt on match ...
Finally when CODE is generated, appear a POSSIBLE MISTAKE in the comment line.
Try -> https://dbuezas.github.io/arduino-web-timers/#mcu=ATMEGA328P&timer=1&topValue=OCR1A&clockPrescalerOrSource=64&interruptA=on&CompareOutputModeB=disconnect&interruptB=off&InterruptOnTimerOverflow=off&CompareOutputModeA=clear&OCR1A=24999
ISR(TIMER1_COMPA_vect) {
/* on OCR0A match /
}
The comment line, it could be / on OCR1A match /????, NOT -> / on OCR0A match */
Thanks for your time, SORRY if I make a mistake, I'm new with TIMERs
Best regards,
Adrian RUFFATO
Beta Was this translation helpful? Give feedback.
All reactions