Hi All, With the help from the people on the list I got serial data communications between two PICs working and serial IR comms between two PICs partially working. First I set up the two PICs (16F627s) to do serial communication and got that working perfectly at 1200, 2400, and 9600 BPS. After that I implemented the code that uses the CCP module in PWM mode at 38KHz and connected the IR LED's Anode pin to the PIC's USART TX pin and the Cathode to RB3 (CCP1). On the receiving PIC I hooked up the Panasonic IR Decoder to the RX pin. First of all, it seems as though the Panasonic inverts the bits so when I received a byte I just inverted it before displaying it on an LED graph. Even though I'm sending a whole byte over serial, I'm only actually using the five least significant bits of the byte. When transmitting, I display the value I'm sending on five LEDs connected to the transmitting PIC and on the receiving PIC I display the serial data received. The problem is that they value received doesn't match the value sent. The values match when I have the two PICs connected with actual wires...but they don't match when I'm using IR. I have checked my values for PR2 and SPBRG and they are correct. Any thoughts? Thanks. Scott Pierce -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu