I am busy developing software for using a pic18f as a I2C slave. So any of you boffins that have done this before please share your ideas. I looked at the datasheets and also the very good application note (AN734) from Microchip. There are a few things in the datasheet that is not so clear to me and looking at AN734 i have a suspision the author also had the problem around handling the situation when a no-acknowledge is generated by the master after the slave tx'ed a data byte. Take note I am an old timer using assembler.