Code here doesn't compile in Arduino 1.8.19, with Teensyduino 1.57
Error:
(trying to get an interrupt for a PWM signal generated by Teensy 4.1)
Using interrupts on Teensy, with C language
www.pjrc.com
Code:
ISR(TIMER0_OVF_vect)
{
/* Timer 0 overflow */
}
Error:
Code:
error: expected constructor, destructor, or type conversion before '(' token ISR(TIMER0_OVF_vect)
(trying to get an interrupt for a PWM signal generated by Teensy 4.1)