Highest PWM frequency output for the Uno/Nano

OC0A is socket (pin) 6 on the Arduino board. However it is pin 12 on the Atmega328P chip. The distinction is important depending on whether you have a Uno (plug a wire into the header labelled "~6") or if you are working with the raw chip it is pin 12 on the processor chip.