Olin, On your project did you use hardware usart or software Was it standard usart and what Baud rate did you use? Andre -----Original Message----- >> I like this idea Jan. I wanted to use as small a pic as >> possible, which was >> going to be a 12F629. But that has no PWM :-( You don't need PWM hardware to do IR transmitting. I have done it all in firmware on a 16F630 where an output pin just controlled the LED on/off. The carrier frequency was 40KHz and the PIC was running from its internal 4MHz oscillator. Worked great. This is one of those relatively rare cases where you do have to think about every instruction cycle. This needs to be written in assembler. >> But I'm thinking of switching to a 16F84 and trying this now. The 16F84 is obsolete. The 16F628 does more, costs less, and fits in the same footprint. The 16F648A is finally out if you need more code space. There are now also 18 parts in 18 pins, the 18F1320 and relatives. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics