Paulo Figueiredo wrote: > If anyone got some code to implement I2C slave, please e-mail me, or > put some code on this post. Take a look at Microcip application notes AN541 - Using a PIC16C5X as a Smart I 2 COE Peripheral. If you do not have it, I can email it to you as an attachment. This application note by Don Lekei describes the implementation of a standard slave device with multiple, bi-directional regis-ters. A subset of the full I 2 C specification is supported, which can be controlled by the same software which would talk to a Microchip 24LCXX series EEPROM. Regards Werner -- Werner Terreblanche http://www.aztec.co.za/users/werner wterreb@plessey.co.za (work) OR werner@aztec.co.za (home) Plessey SA, PO Box 30451,Tokai 7966, Cape Town, South Africa or (Suite 251, PostNet X5061, Stellenbosch, 7599) Tel +27 21 7102251 Fax +27 21 721278 Cell +27 837255164 ------------------------------------------------------------