Open photodude opened 5 years ago
Timer 1 PWM pins on the Uno are 9 and 10 but on the Mega Timer 1 pins for PWM are 11, and 12. the PWM frequency change needs to be more robust to handle cases of any timer 1 PWM pin and differences between boards.
For examples on how to do this see:
Code in master branch should now work with uno on either PWM pin for timer 1
Timer 1 PWM pins on the Uno are 9 and 10 but on the Mega Timer 1 pins for PWM are 11, and 12. the PWM frequency change needs to be more robust to handle cases of any timer 1 PWM pin and differences between boards.
For examples on how to do this see: