PWM timer0 prescale factor to 32

Hi,

I need a PWM frequency between 1-5 khz on pin 6 on my Arduino Uno.

After reading this: Arduino Playground - TimerPWMCheatsheet
it seems that there is no setting to use for prescaler of say 32 which would give
me a PWM frequency of 1953 Hz.

Is there someway to set the prescaler to 32 for timer0 PWM which controls pin 5 and 6?

Thanks!

No, it's hardware. And btw, you DON'T want to mess with the pre-scaler of timer0 at all because that will mes with all build in timing functions like millis(), micros() and even delay().... So if you want a different frequency than default, use any timer but 0 :slight_smile: