Sudhp
Member level 4
- Joined
- Oct 11, 2013
- Messages
- 69
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 6
- Location
- India
- Activity points
- 528
hii.
I am working on EEPROM 24c16.......
my programming to write a byte to EEPROM is....(download from net)
I just wanna know how addressing of word address is done ?....
and how much data I can store to this word address....
and how can I address next word address(if possible).........
I am working on EEPROM 24c16.......
my programming to write a byte to EEPROM is....(download from net)
Code:
void save() //save in EEPROM
{
start();
send_byte(0xA0); //device address
aknowledge();
send_byte(0x00); //word address
aknowledge();
//send data
send_byte(hour1);
aknowledge();
send_byte(min1);
aknowledge();
send_byte(sec1);
aknowledge();
send_byte(hour2);
aknowledge();
send_byte(min2);
aknowledge();
send_byte(sec2);
aknowledge();
stop();
}
I just wanna know how addressing of word address is done ?....
and how much data I can store to this word address....
and how can I address next word address(if possible).........
Last edited by a moderator: