基于51单片机的Pt100的温度计程序 - 免费下载
技术资料资源
文件大小:39 K
💡 温馨提示:本资源由用户 ddk 上传分享,仅供学习交流使用。如有侵权,请联系我们删除。
#include <reg51.h>
#include <absacc.h>
#define uchar unsigned char
#define uint unsigned int
#define ADC0801 XBYTE[0x7fff]
#define disp_dat P1
#define LED_n P2
sbit INTR=P3^2;
const uchar tab[]={
0xc0,0xf9,0xa4,0xb0,//0~3
0x99,0x92,0x82,0xf8,//4~7
0x80,0x90,0xff,0x86 //8、9、mie
};
const uchar tab_dot[]={
0x40,0x79,0x24,0x30,//0.~3.
0x19,0x12,0x02,0x78,//4.~7.
0x00,0x10, 0xff,0x86//8.、9.、mie、E
};