Serial EEPROM
MacGeek117
Posts: 747
OK, so I found out how to connect it to the BS2, but how do I load data into it?
bugg
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
So many projects, so little time.
bugg
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
So many projects, so little time.
Comments
bugg
P.S. the EEPROM is the one that is on the BS2.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
So many projects, so little time.
You are looking for the READ and WRITE commands in PBASIC. The help docs do a pretty good job of explaining it and show sample code.
Jim
the same one, that is on the BS2.
bugg
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
So many projects, so little time.
According to the datasheet which you should already have downloaded and at least browsed through, it has an I2C interface. Forrest has already pointed you in the direction of the Nuts & Volts article which, as Forrest has also pointed out, contains sample code that works on all stamps, including the BS2. Download it, read it, and start playing around. Just playing around with something trying to make it work, then asking key, well focused, questions to get you past a stumbling block will usually teach you much more in the long run.
Jim