How to create a 38 Khz pulse with arduino using timer or PWM?

Why not just use the Tone() function?
http://arduino.cc/en/Reference/Tone