how to generate 38.5 khz

i want to generate 38.5 khz freq using arduino (atmega 32). im using tsop1838 as detector. which protocol is generally used

http://www.arduino.cc/playground/Main/GeneralCodeLibrary search for "frequency related"

RU TAKING ABOUT Timer 1 library?

o...... sorry i will check if first