> Are you trying to modify someone else's code extracted from an > existing PIC design? > >> The original I2C code goes like this (a part of it). No, this is my own code developed in 1998 to be used with 16C54 and 24LC32. I have used this code with 16(C/F)72 in 2005 and 16F870 in 2009. Cheers Ravi -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist