……
摘要: 一、主函数如下: #include <reg52.h> //此文件中定义了单片机的一些特殊功能寄存器 #include"fpc8591.h" #include"i2c.h" #include "74hc595.h" /***************************************** 阅读全文
posted @ 2020-06-03 12:40 十零 阅读(873) 评论(0) 推荐(0) 编辑
摘要: 一、创建头文件74hc595.h代码如下: #ifndef __74HC595_H_ #define __74HC595_H_ #include <reg52.h> #define uchar unsigned char #define uint unsigned int sbit DIO = P1 阅读全文
posted @ 2020-06-03 12:39 十零 阅读(886) 评论(0) 推荐(0) 编辑