Mr Demon,
Even if i don't see any advantage and/or need for the Optos, it also introduce, at least, a voltage drop between The PIC and the I2C device. No matter why it's working so so.
Schematic provided by Ralph will work. You just need to modify your I2CWRITE/I2CREAD statement to fit with the A0, A1, A2 jumpers.
On your SCL and SDA line, you should be able to fit all your I2C devices. As i remind MCPXXX don't have the same control word than your EEPROM so it shouldn't provide any conflict.
Qu'a Pitch?
Last edited by Demon; - 4th October 2016 at 18:10.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks