Closed cattledogGH closed 1 year ago
HI @cattledogGH
Thanks for your real bug spot. I'll fix the mistake and will quickly release a new version.
Best Regards,
Hi @cattledogGH
Thanks to your bug spot, the new megaAVR_TimerInterrupt v1.7.0 has just been released to fix bug disabling TCB0
. Your contribution is noted in Contributions and Thanks.
Looking forward to receiving more of your valuable bug reports.
Best Regards,
TCB0
. Check TimerB0 does not trigger interrupt #4allman astyle
and add utils
TimerB0 will not trigger an interrupt. I think there is a bug in TimerInterrupt::setFrequency()
If I make this change to the source code, TimerB0 appears to be working properly.
Simple Blink sketch using TimerB0 will not blink LED. TimerB1 blinks the LED as expected.
Expected behavior
TimerB0 triggers interrupt to blink led and increase count.
Actual behavior
No interrupt is triggered. Count ==0 and led does not blink
Debug and AT-command log (if applicable)
[TISR] setFrequency error
Information