LCD1602数字温度计代码.pdfVIP

  • 74
  • 0
  • 约7.83千字
  • 约 13页
  • 2021-11-10 发布于四川
  • 举报
/****************************************************************** ** 1602A液晶屏驱动程序 ** 晶 振 频 率:11.0592M ** 作者:王勋 **QQ:249521710 **主页:/249521710 ******************************************************************/ #include reg51.h #include absacc.h #define uchar unsigned char #define uint unsigned int typedef unsigned char byte; typedef unsigned int word; sbit DQ = P3^0; unsigned char minus_flag=0; unsigned char ten,one,dot1,dot2; void Read_Temperature(void); sbit LCM_E=P1^1;//定义接口 sbit LCM_RW=P1^0; sbit LCM_RS=P1^2; #define LCM_Data P0//数据接口 void LCM_WriteData(uchar WDLCM)

文档评论(0)

1亿VIP精品文档

相关文档