Description: At the reading and writing operation of AT24C512, we connect the two buses of 24c512 to P36 and P37. Therefore, we must first define:
Sbit SCL = P3 sbit SDA = P3 ^ ^ 6 7 in this experiment, we write a set of 24 c512 byte value to 0 x0081 position.
Then read on and in P1 mouth show - AT24C512 operations of reading and writing, we will take the bus two 24 c512 in the P36 and P37, therefore, must be defined: sbit SCL = P3 sbit SDA = P3 ^ ^ 6 7 in this test, we write a set of byte values to 0 x0081, led by the 24 c512 position. Then be read out and displayed in the P1 I
File list (Check if you may need any files):
eeprom.c