When you do need a timer interrupt, use IntervalTimer instead of TimerOne. IntervalTimer uses Teensy's 4 x PIT (programmable interrupt timer), so it generally won't get in the way of what you're doing with other pins.
I'm guessing you're new to Arduino, and if so, I'd like to point a couple of ways to simplify your program.
All Arduino-compatible boards, including Teensy, have a built-in 1-ms timer that you can read via the function millis(), and you can use...
Hi! Here is my code:
#define REAR_DUMP_PWM 7
#define PWM_FREQUENCY_HZ 120
...
analogWriteFrequency(REAR_DUMP_PWM, PWM_FREQUENCY_HZ);
analogWriteResolution(15); // 0 - 32767
analogWrite(REAR_DUMP_PWM, (int)(32767 * 0.50));
And here is what I...