温度计C语程序.docVIP

  • 2
  • 0
  • 约9.47万字
  • 约 13页
  • 2017-02-06 发布于河南
  • 举报
温度计C语程序

/* */ //MCU头文件 #include reg52.h #include intrins.h 延时:nop //数据结构定义 #define U8 unsigned char 8字节 无符号字符型 2 8 256 #define U16 unsigned int 16字节 整型 2 16 65535 #define VU8 volatile unsigned char 定义字符 #define VU16 volatile unsigned int //数码管段码 //const unsigned char led_7[]={0x3f,0x06,0x5b,0x4f, // 0x66,0x6d,0x7d,0x07, // 0x7f,0x6f,0x77,0x7c, // 0x39,0x5e,0x79,0x71, // 0x00,0xff,0x40,0x80}; //const unsigned char position[]={0xfe,0xfd,0xfb,0xf7,0xef,

文档评论(0)

1亿VIP精品文档

相关文档