I need to change the PWM frequency on a Attiny85
On my arduino uno (atmega328) i used this:
TCCR2B = TCCR2B & 0b11111000 | 0x01;
This gets me a 32kHz PWM on pin 3 & 11
Now a roughly want to do the same on a Attiny85. What command do I use to get a pwm signal that is higher then 22kHz on Pin 0?
I've been reading and googling a bit but it made my head spin...