24lc02
Archiver
Posts: 46,084
Hello All,
··· I appreciate the code for the 24LC32. I am actually using a 24LC02. I have the data sheet that came with the eeprom and I have changed the addressing to match the 24LC02 but I still have no luck in reading/writing to the memory array. Is there any code specifically for the 24CL02? Thanks again.
MH
··· I appreciate the code for the 24LC32. I am actually using a 24LC02. I have the data sheet that came with the eeprom and I have changed the addressing to match the 24LC02 but I still have no luck in reading/writing to the memory array. Is there any code specifically for the 24CL02? Thanks again.
MH
Comments
MH
Original Message
From: Michael Hendricks
To: basicstamps@egroups.com
Sent: Saturday, September 23, 2000 6:39 PM
Subject: [noparse][[/noparse]basicstamps] 24LC02
Hello All,
··· I appreciate the code for the 24LC32. I am actually using a 24LC02. I have the data sheet that came with the eeprom and I have changed the addressing to match the 24LC02 but I still have no luck in reading/writing to the memory array. Is there any code specifically for the 24CL02? Thanks again.
MH
At 06:39 PM 9/23/00 -0400, you wrote:
>>>>
> [size=-1]Hello All,
> I appreciate the code for the 24LC32. I am actually using a 24LC02. I have the data sheet that came with the eeprom and I have changed the addressing to match the 24LC02 but I still have no luck in reading/writing to the memory array. Is there any code specifically for the 24CL02? Thanks again.
> MH
> [/size]
>
<<<<
http://www.phanderson.com/stamp/i2c/24lc32.html
I recomend that you change the out_byte and get_byte code to the folowing.
out_byte:
low SDA_PIN
shiftout SDA_PIN, SCL_PIN, msbfirst, [noparse][[/noparse]o_byte]
return
get_byte:
shiftin SDA_PIN, SCL_PIN, lsbfirst, [noparse][[/noparse]i_byte]
return
This saves you code space and offers a 100-200% speedup in these routines.
Let me know if there is anything else i can help with.
MH
Original Message
From: Robert McAtee
To: basicstamps@egroups.com
Sent: Sunday, September 24, 2000 4:55 PM
Subject: Re: [noparse][[/noparse]basicstamps] 24LC02
MH, I see you got some code for the 24LC32. I have 50 of the 24C32's but no
code. Is it possible you could send me an attachment with code???? ==Mac==
AG5F, Abilene, TX.
At 06:39 PM 9/23/00 -0400, you wrote:
>>>>
Hello All,
I appreciate the code for the 24LC32. I am actually using a 24LC02. I have
the data sheet that came with the eeprom and I have changed the addressing
to match the 24LC02 but I still have no luck in reading/writing to the
memory array. Is there any code specifically for the 24CL02? Thanks again.
MH
<<<<