On Tue, 2005-04-19 at 07:52 -0400, Olin Lathrop wrote: > Jinx wrote: > > Why would "0011000R" be rejected as an address ? If sent > > "0011000W" it will move on to the 2nd byte. AFAICT the > > address is matched to <7:1> and bit0 is not considered > > > > Whether the F88 is assigned an address of h30 or h31, it will > > not respond to h31 > > I didn't look at the code, but keep in mind that the address register holds > the slave address shifted left 1 bit. In other words, it holds the address > pattern as expected in the address byte, not simply the "address" as the > documentation might lead you to believe. Very true, in fact this has been a area of confusion that I'm sure has hit many people. Personally I think of addressing on the I2C bus as even addresses are write address, odd addresses are read addresses, keeps code alot cleaner. TTYL ----------------------------- Herbert's PIC Stuff: http://repatch.dyndns.org:8383/pic_stuff/ -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist