Hello, I wish to implement a I2C bus containing a three PIC16F877. One will be the I2C master and the other two will be I2C slaves. The master needs to write and read data from the slaves. I am using both CCS C and HiTech C and am hoping someone has some code C code showing the use of I2C both on the master and slave end. Thanks. Regards, Donovan -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads