#include //包含52单片机头文件 #include "Beep.h" #include "Lcd.h" void di()//蜂鸣器发声函数 { beep=0; delay(100); beep=1; }
Flash+memory 源代码
汇集 Flash+memory 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
#ifndef _Lcd_H_ #define _Lcd_H_ #include "MacroAndConst.h" sbit rs=P3^5; //定义1602液晶RS端 sbit lcden=P3^4;//定义1602液晶LCDEN端 …
#ifndef _Key_H_ #define _Key_H_ #include "MacroAndConst.h" sbit s1=P3^0; //定义按键--功能键 sbit s2=P3^1; //定义按键--增加键 sbit s3=P3…
#include //包含52单片机头文件 #include "Lcd.h" #include "main.h" #include "Assistance.h" uchar number; void delay(uint z) //延时函数…
C51 COMPILER V9.00 TIMERSINIT 10/29/2012 15:18:34 PAGE 1 C51 …
1.0 ### uVision Project, (C) Keil Software Target 1 0x0 MCS-51 AT89C52 …
#include//包含52单片机头文件 #include "24c02.h" #include "MacroAndConst.h" #include "Key.h" #include "Lcd.h" #include "Beep.h" #incl…
C51 COMPILER V9.00 LCD 10/29/2012 15:18:33 PAGE 1 C51 …
#include #include "24c02.h" #include "MacroAndConst.h" #include "Lcd.h" #include "Assistance.h" void delay0() { ;; } vo…