摘要:
1.main.c#include <reg52.h>#include "..\lib\delay.h"#include "..\lib\display.h"#include "..\lib\i2c.h"#define AddWr 0xae //写数据地址,需要参考24c02芯片文档#define AddRd 0xaf //读数据地址sbit WP = P1^0;/*------------------------------------------------ 写入数据--------------------------- 阅读全文