On Tue, Jul 06, 2010 at 11:14:18AM -0400, Michael Adelman wrote: > Hi all, > > I'm new user to this website and PIC Embedded programming. > > Can you post code sample what is the proper configuration of the registers > so it can work in I2C and how to use these configurations with an > application. My application need to work as a Slave in this matter. Might I suggest that you take a look at JAL: http://www.casadeyork.com/jalv2/ A tutorial example of using i2c with JAL and 16F88s can be found here. http://www.sirloon.net/loonaweb/sirblog/i2c-com-with-two-16f88-master-slave The nice thing is that the language/environment handles the low level i2c issues and setup. You just set the processor, including the library, and write away. Hope this helps, BAJ > > thanks, > > -- > Michael Adelman - Intern at ORT Braude Academic College > Phone: +972-544758146 > > Skype: mike214 > LinkedIn: http://www.linkedin.com/in/adelmanmichael > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist -- Byron A. Jeff Department Chair: IT/CS/CNET College of Information and Mathematical Sciences Clayton State University http://cims.clayton.edu/bjeff -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist