Bruce has a good explanation here.
It's for 38khz, but you just change the numbers for higher freqs. ...Using The PIC Microcontroller Hardware PWM Feature & Infrared CommunicationsAnd for easy PWM calculations ...
http://www.rentron.com/Infrared_Communication.htmmister_e's PicMultiCalc.<br>
http://www.picbasic.co.uk/forum/atta...achmentid=2957
Bookmarks