I2C question
Hermie
Posts: 36
Just got a couple of BS2p's hoping to connect two together thru I2C, the same basic way as serin/out. Is this possible or is the master/slave issue a problem. If so, can anyone offer a sample routine?
If it's not possible, my second option would be to connect thru I2C multiple stamps to the same LCD display which is I2C capable, is that possible?
Thanks...Hermie
If it's not possible, my second option would be to connect thru I2C multiple stamps to the same LCD display which is I2C capable, is that possible?
Thanks...Hermie
Comments
2) You can't automatically connect two Stamps to a single I2C peripheral. The I2C protocol allows for multiple masters, but the Stamps don't directly support it. You have to have the Stamps negotiate separately which one is to use the shared LCD display, then only one Stamp will issue the I2C commands at a time and you have to make sure the I2C pins are set to input mode when it's done (and before the other Stamps are notified that the LCD is available).
Hermie