> You mentioned that you have PIC to PIC communications working using I2C. I > have been working for the last 3 wks > trying to establish communication. > > I can not begin to say what is wrong except that I am using the HI-Tech C > compiler and their routines do not appear to > work properly. So don't use them! In 3 weeks you could have written your own IIC routines several times over. What exactly happens other than "doesn't work"? Does the slave ACK the address byte? Are you doing a write message and the slave fails to ACK a byte sometimes? Does the bus hang? If so, when? Keep breaking the problem down until you find the individual thing that doesn't work. Just knowing that will probably point you to the bug. ******************************************************************** Olin Lathrop, embedded systems consultant in Littleton Massachusetts (978) 742-9014, olin@embedinc.com, 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