//数据类型宏定义 typedef unsigned char uint08; typedef signed char sint08; typedef unsigned int uint16; typedef signed int sint16; //变量定义
//发送数据缓存区,存入FLASH ,ASCII码形式,不支持中文,注意在字符串尾加0xFF作为结束标记 const PROGMEM uint08 Send_Buff[512]="As food is to the body, so is learning to the mind. Our bodies grow and muscles develop with the intake of adequate nutritious food. Likewise, we should keep learning day by day to maintain our keen mental power and expand our intellectual capacity. Constant learning supplies us with inexhaustible fuel for driving us to sharpen our power of reasoning, analysis, and judgment. Learning incessantly is the surest way to keep pace with the times in the information age\xFF"; uint08 Page=0x00; //页选择位,选择0或1,选择0页写0,选择1页写2 uint08 Read_Buff[512]; //数据接收缓存区,AT24C04最大空间256字节