I’m trying to load this into my Teensy 3.5 device, but I am getting an error at ISR(TIMER1_COMPA_vect) I’m not sure I know how to fix. This piece of code allows the developmental board to be used as an oscilloscope. The entire code is attached, but this is the segment where the code appears:

ISR(TIMER1_COMPA_vect)//timer0 interrupt 

stimsyncArd.ino (42 KB)

TIMER1_COMPA_vect is an Atmel AVR thing. Teensy 3.x do not have AVR chips, and their timers are completely different.

Depending on what you actually need it to do, you can probably use one of the PJRC timer libraries;