Open
Description
The README
shows
pub unsafe extern "avr-interrupt" fn _ivr_timer1_compare_a() {
as interrupt handler for timer1 but that didn't work for me on the Arduino Uno Rev3.
Every time the interrupt arrived, the board did a full reset because no interrupt handler was correctly defined.
This worked:
pub unsafe extern "C" fn __vector_11() {
as that is what ISR(TIMER1_COMPA_vect)
(see e.g. here) expands to when used from the Arduino IDE.
Metadata
Metadata
Assignees
Labels
No labels