I got MSSP I2C code working (just squeaked in before midnight Sunday - a good end to the weekend) http://home.clear.net.nz/pages/joecolquitt/i2c.html I'd be interested in any comments This is basically in-line code that follows the manual diagrams and seems to work OK with any data at any address. It doesn't do anything fancy such as error detection, block writes etc which can come later, now that there's something to build on Undoubtedly it can be optimised, for example Olin's gotchas such as the SDA capacitance, and can be broken down into macros or calls, but it's a start -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu