translating from 2p to SX
Chet
Posts: 150
I am trying to conver the listing for reading and writing to the 24lc128 EEPROM and have run into a (maybe for others a symple) problem.
The original listing uses "word" for varables to hold the address bytes.· I have tried using byte(2) but when I have to break it into two bytes for the I2Csend, I run into problems.· I need to have the lower byte and the upprer byte sent seperately.
listing attached
your help will be highly appreciated
Regards
Chet
·
The original listing uses "word" for varables to hold the address bytes.· I have tried using byte(2) but when I have to break it into two bytes for the I2Csend, I run into problems.· I need to have the lower byte and the upprer byte sent seperately.
listing attached
your help will be highly appreciated
Regards
Chet
·
sxb
3K
Comments
··Look at the example program in the help file for I2CSEND. It uses the 24lc16 which is basically the same part but smaller.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video·Module" Now available from Parallax for only $28.95
http://www.parallax.com/detail.asp?product_id=30012
"SX-Video OSD module" Now available from Parallax for only·$49.95
http://www.parallax.com/detail.asp?product_id=30015
Product web site: www.sxvm.com
"Ability may get you to the top, but it takes character to keep you there."
Post Edited (Bean (Hitt Consulting)) : 1/11/2006 12:51:28 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Regards
Chet