基于AT89S52医院输液监控系统 程序 从机.docVIP

  • 3
  • 0
  • 约4.98千字
  • 约 8页
  • 2019-10-17 发布于江苏
  • 举报

基于AT89S52医院输液监控系统 程序 从机.doc

#include reg52.h #define uchar unsigned char uchar code table[] = { 0x14,0xb7,0x51,0x31, // 0xb2,0x38,0x18,0xb5, 0x10,0x30,0xff }; void Processor(); void Almbert(); uchar ADD,ADD_Sp[4],Fre=0,call,Store; uchar Comp,num[8],Account,Start=0,YN=0; uchar data Data[2],p; uchar command=0xaa; bit flag; bit flash=0; bit Test=0; int N=0,M=0; sbit keyone = P3^6; sbit keytwo = P3^7; sbit keythree = P3^3; sbit voice = P1^0; sbit AA = P1^6; sbit BB = P1^5; sbit CC = P1^4; void delay(uchar x) { uchar y; for(;x0;x--) for(y=100;y0;y--); } void display(uchar num[8])

文档评论(0)

1亿VIP精品文档

相关文档