Problem in Writing to Protoboard EEPROM
MacGeek117
Posts: 747
Every time I run this program, the output is 'Error in reading EEPROM'. I'm not sure what is wrong.
RoboGeek
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"I reject your reality and subsitute my own!"
Adam Savage, Mythbusters
www.parallax.com
www.goldmine-elec.com
www.expresspcb.com
www.startrek.com
RoboGeek
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"I reject your reality and subsitute my own!"
Adam Savage, Mythbusters
www.parallax.com
www.goldmine-elec.com
www.expresspcb.com
www.startrek.com
spin
940B
Comments
Normally the SCL and SDA lines both have to have pull-up resistors, but the Propeller Demo Board and some other Propeller boards
only have a pull-up on SDA. The 3rd parameter when true causes the I/O routines to adjust for the lack of a pull-up on SCL.
RoboGeek
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"I reject your reality and subsitute my own!"
Adam Savage, Mythbusters
www.parallax.com
www.goldmine-elec.com
www.expresspcb.com
www.startrek.com
·
Try the routines that I wrote ("Basic I2C Driver") that are in the Object Exchange.
You should also call the included Initialize routine at least once after calling Start.
Sometimes the EEPROM is left in an invalid state after boot and has to be re-initialized.