You can only add data memory, not program memory (the program memory is fixed to what's on the module).·
What you didn't indicate is which BASIC Stamp you're using; the BS2p family modules have built-in I2C commands, the others don't.· I've attached a program that works with a 24LC256 I2C device on the BS2, BS2e, and BS2sx -- using the BS2p, BS2pe, or BS2px is simpler with I2COUT and I2CIN instructions.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Jon Williams Applications Engineer, Parallax
Comments
What you didn't indicate is which BASIC Stamp you're using; the BS2p family modules have built-in I2C commands, the others don't.· I've attached a program that works with a 24LC256 I2C device on the BS2, BS2e, and BS2sx -- using the BS2p, BS2pe, or BS2px is simpler with I2COUT and I2CIN instructions.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax