基于12864及18b20的温度液晶显示.pdfVIP

  • 6
  • 0
  • 约2.65万字
  • 约 22页
  • 2021-01-23 发布于天津
  • 举报
精品文档 基于 12864 及 18B20 的温度液晶显示 #include reg52.h #include string.h #include stdlib.h #include stdio.h #include math.h /*Define the register command code*/ #define Disp_On 0x3f #define Disp_Off 0x3e #define Col_Add 0x40 #define Page_Add 0xb8 #define Start_Line 0xc0 #define Lcd_Bus P0 #define uchar unsigned char #define uint unsigned int uchar t1,t2,t3,ser; sbit DS=P2^2; /* 与单片机的单总线接口 */ uint temp; /* 可变温度值

文档评论(0)

1亿VIP精品文档

相关文档