Timeline for AVR timer overflow interrupt not working
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 21, 2018 at 7:08 | comment | added | Arvind Bhosle | Try commenting OCR0 register's value for overflow interrupt to work .Well it worked for me. | |
| Nov 22, 2016 at 15:00 | comment | added | chen | @jfpoilpret Thank you! I was told that it was a good practice to disable and then re-enable interrupts in an ISR so you don't have interrupts interrupting your ISR. Can you point me to a source that says ISR does that automatically? | |
| Nov 22, 2016 at 3:42 | vote | accept | chen | ||
| Nov 20, 2016 at 8:12 | comment | added | jfpoilpret |
cli() and sei() are useless in your ISR as interrupts are automatically disabled at ISR start and re-enabled on return.
|
|
| Nov 20, 2016 at 5:58 | answer | added | Nick Gammon♦ | timeline score: 5 | |
| Nov 20, 2016 at 5:16 | comment | added | Ignacio Vazquez-Abrams | None of this is Arduino. | |
| Nov 20, 2016 at 5:08 | review | First posts | |||
| Nov 20, 2016 at 8:06 | |||||
| Nov 20, 2016 at 5:07 | history | asked | chen | CC BY-SA 3.0 |