You can simply modify the prescale ratio of a timer while maintaining the analogWrite() values. Changing the TOP value instead also affects (reduces or extends) the duty cycle range.
Don't touch Timer0 because it's used for system timing.
You can simply modify the prescale ratio of a timer while maintaining the analogWrite() values. Changing the TOP value instead also affects (reduces or extends) the duty cycle range.
Don't touch Timer0 because it's used for system timing.