Hi, I'm having trouble properly naming ISRs in a way that doesn't cause compiler errors. When I attach the interrupt, the compiler is erroring on the ISR name, saying "'ISR name' was not declared in this scope". When I have programmed with the nano 33 BLE, it seemed happy with me calling the ISR whatever I want.
I've been through several forum posts as well as the Uno R4 user manual and haven't found anything specific to the Uno R4.
I have tried the following:
attachInterrupt(digitalPinToInterrupt(DOWN_FAST), downFast, FALLING);
attachInterrupt(digitalPinToInterrupt(DOWN_FAST), INT0_vect, FALLING);
Note, "DOWN_FAST" is attached to digital pin 2, which I believe corresponds to external interrupt 0.
Any help would be greatly appreciated. Thanks!