Maximum pin toggle speed

Could you post the code? Please?

The basic code I am using, from the Fade example, has a base frequency of about 500Hz. To simplify and reduce the size of a lot of the inductors it would be nice to work at 50kHz.

bconley at circuitsvilleeng dot com