How to control high power leds (500mA) via pmw accurately?

For those interested:
by the way some pins of the the Uno pwm can be set to 62,5KHz (but still not good enough for my application).
http://playground.arduino.cc/Code/PwmFrequency#.UzcBVOKYZaQ