Introduction - If you have any usage issues, please Google them yourself
///*******************// A description of the procedures:// 1, 24LC02 device address is 1010000R/W.// 2, write an array to take 24LC02 page write mode.// 3, the array read out the code from the 24LC02 to take a free read.// 4, using 4.00M crystal.// 5, using software I2C.// Second, the hardware to connect:// 1, SDA-------> 23 pin. (Of course, you can choose to pin)// 2, SCL-------> 18 Pin. (Of course You can choose pin)// 3, PORTB-----> digital tube output segment// 4, RD4, RD5, RC6, RC7-------> digital pipe-bit output (digital tube for a total of cathode)
Packet : 71477235i2c_pic_right.rar filelist
i2c_pic正确程序.txt