基于51单片机便携式高度计程序.pdfVIP

  • 14
  • 0
  • 约9.16千字
  • 约 6页
  • 2021-11-30 发布于河北
  • 举报
#include reg51.h #include intrins.h #include math.h #define uchar unsigned char #define uint unsigned int #define ulong unsigned long sbit RS=P2^0; //LCD 命令 /数据端 sbit RW=P2^1; //LCD 读/ 写端 sbit LCDE=P2^2; //LCD 使能端 sbit PD=P2^6; //SCP1000 低功耗设置端 sbit CSB=P2^7; //SCP1000 片选端 sbit CLK=P1^0; //SCP1000 时钟信号 sbit MOSI=P1^1;

文档评论(0)

1亿VIP精品文档

相关文档