[Solved] Increasing PWM frequency and resolution

Interesting. What if I changed val in analog_wiring.c to 1023, and changed the little timer bit in wiring.c?

But I take it I will be able to change OCR1A just as I would use analogWrite() in loop()? That sounds okay to me.