This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <reg51.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include"Lcd1602.h" | |
#include"KeyDown.h" | |
#include"delay.h" | |
unsigned char code KEY_CODE[16]= "123+456-789*.0=/"; | |
void main() | |
{ | |
unsigned char m,i,j,k,l; /*m用以记录每次单击的键值,需-1处理后才得到键值; |