AT89S51 + AT24C01A

In my routines, i am not checking for ack! i am assuming that the data transfer is perfect and ack is received. thats the reason, it cannot be used for EEPROM.
but my C routines can be used for EEPROM and any I2C device.

RLC A instruction means "rotate left through carry"
whatever is there in A is rotated left and the MSB is copied back to the place of LSB and all bits are shifted by 1 toward left. a... Read Compelte post
Other Tags: msb   eeprom   rlc   ack   c routines   
Posted by ajay_bhargav on Sat Apr 21 2007, 11:24 pm

Downloads

Comments

Bertakiacatt
Thu May 30 2024, 09:33 am
Edwardcleri
Wed May 29 2024, 03:33 pm
Anthonygar
Wed May 29 2024, 03:19 pm
Brandonvab
Wed May 29 2024, 05:35 am
SeymourAdard
Tue May 28 2024, 01:54 pm
DavidAnike
Tue May 28 2024, 08:55 am
BlaineTew
Tue May 28 2024, 06:41 am
Richardesord
Mon May 27 2024, 06:16 pm