EEprom in sx for saving data
I had once a 68hc11 for using at school and for keeping me busy. I found once a manual with code that is usefull for programming data into the 68hc11 eeprom.
Does it exist also for the sx28?
Kurt
Does it exist also for the sx28?
Kurt


Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I wonder if this wire is hot...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
How about using larger capacity EEPROM with with the sample code 24LC128.bs2 supporting the Parallax EEPROM 24LC128 prouduct ( http://www.parallax.com/detail.asp?product_id=602-00013 )
Thanks.
' Write origData to EEPROM address addr_LSB,addr_MSB I2CStart SDA I2CSend SDA, $A0 I2CSend SDA, addr_MSB I2CSend SDA, addr_LSB I2CSend SDA, origData I2CStop SDA PAUSE 5 ' Read byte back from EEPROM address addr_LSB, addr_MSB I2CStart SDA I2CSend SDA, $A0 I2CSend SDA, addr_MSB I2CSend SDA, addr_LSB I2CStart SDA I2CSend SDA, $A1 I2CRecv SDA, readBack, 1 I2CStop SDAOf course this is not optimized (I2C command should be in seperate subroutines), but you gotta love SX/B...
Bean.
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video·Module"·available from Parallax for only $28.95 http://www.parallax.com/detail.asp?product_id=30012
"SX-Video OSD module"·available from Parallax for only·$49.95 http://www.parallax.com/detail.asp?product_id=30015
Product web site: www.sxvm.com
Available now! Cheap 4-digit LED display with driver IC·www.hc4led.com
"I reject your reality, and substitute my own." Mythbusters
·
see routines in the program for i2c in assembler, works ok for that project