I2C questions
Buck Rogers
Posts: 2,187
Hello!
This is in the Micro questions box because it concerns both the Prop 1 and the BASIC Stamp family.
Would someone please confirm that they can make use of the I2C concept, and that the Prop 1 has its Flash Memory connected there, but that it can also be used by regular activity workers, meaning us? And that the BASIC Stamp2 has them connected to the memory chip, and they are not available. But that that they are in later ones, and can use BASIC Stamp code blurbs to talk to the devices?
Basically I need to have that assertion either confirmed or refuted.
This is in the Micro questions box because it concerns both the Prop 1 and the BASIC Stamp family.
Would someone please confirm that they can make use of the I2C concept, and that the Prop 1 has its Flash Memory connected there, but that it can also be used by regular activity workers, meaning us? And that the BASIC Stamp2 has them connected to the memory chip, and they are not available. But that that they are in later ones, and can use BASIC Stamp code blurbs to talk to the devices?
Basically I need to have that assertion either confirmed or refuted.
Comments
For later stamps, look at I2CIN and I2COUT.
Both Prop 1 and Prop 2 support I2C. For Prop 1, there are several different "objects" available that can use pretty much any pair of I/O pins for the I2C bus. Pins 28 and 29 are used for the boot EEPROM and other devices can be added to this I2C bus. I've used pins 17 and 18 for a secondary I2C bus on a Prop Mini board. Look at "Basic_I2C_Driver" for a Spin object. There's also support in the C library for I2C.