Changed ADC to interrupt off of PWM.