[Solved] Increasing PWM frequency and resolution

johnwasser:
If you re-program the timer to get 10-bit PWM you can't use analogWrite() anymore. You have to write to the timer registers directly.

Wow, I think that's a bit too much for me!

I found this shortly after I made this thread: 16bit PWM Function - #3 by graynomad - Programming Questions - Arduino Forum

If I used that instead of TCCR1A = 0x03;, would I then be able to use analogWrite()?

Thank you :slight_smile: