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

NhunterPex
Tue Aug 09 2022, 03:03 am
Waynebap
Mon Aug 08 2022, 05:06 pm
Richardkip
Sun Aug 07 2022, 01:25 am
Antidracer
Sat Aug 06 2022, 10:20 am
FrancisGaurf
Thu Aug 04 2022, 11:26 am
WilliamSkams
Thu Aug 04 2022, 02:16 am
Louisspurn
Thu Aug 04 2022, 01:48 am
Josephsor
Tue Aug 02 2022, 09:21 am