Changed PWM frequency interrupt triggering to 10 kHz