资 源 简 介
///*** *** *** *
//一、程序说明:
//1, 24LC02器件地址是1010000R/W.
//2, 数组写入24LC02采取页写方式.
//3, 数组code从24LC02读出时采取自由读方式.
//4, 采用4.00M晶体。
//5,采用软件I2C。
//二、硬件连接:
//1, SDA------->23 pin.(当然你可以任意选择脚位)
//2, SCL------->18 Pin.(当然你可以任意选择脚位)
//3, PORTB----->数码管的段输出
//4, RD4,RD5,RC6,RC7------->数码管的位输出(数码管为共阴极)
-///*******************// 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)