Attached is the code. I am inputting two ADC channels to a pwm in order to have a variable frequency and duty cycle. The program works except there are these occasional stops for a brief moment. On channel feed OCR1C for the top value and the other adc feeds OCR1A and B for the compare value. I am using both A and B pwm outputs for no particular reason. Could use just one. I suspect it gets hung up slightly when updating or inputting from the TCNT1 register to ADCL and ADCH. Any help...
ADC to PWM program glitch
ADC to PWM program glitch