You Didn't mention pull ups (Downs) on the A0,A1,A2 Lines ?
You did mention pull ups on the SDA,SDL though .
BR
Andy
You Didn't mention pull ups (Downs) on the A0,A1,A2 Lines ?
You did mention pull ups on the SDA,SDL though .
BR
Andy
The problem might be with the PCF8574 chip. The datasheet that I downloaded says that it works at 100 kHz. If your clock works at 400 kHz that might be a problem. Try configuring the I2C interface at 100 kHz only. Try this line at the beginning of the program,
DEFINE I2C_SLOW 1
"No one is completely worthless. They can always serve as a bad example."
Anonymous
Bookmarks