基于51单片机转速测量的程序,望高手帮我解释一下。答:include <reg51.h> include <INTRINS.H> define FOSC 11.0592 unsigned int speed;unsigned char key;unsigned char led_table[10]={0xfc,0x60,0xda,0xf2,0x66,0xb6,0xbe,0xe0,0xff,0xf6};long speed_count,speed_count1;unsigned char speed_check;unsigned int second_flag;unsigned ...
51单片机的电子密码锁程序,用KEIL C写的答:以前帮别人做过一个类似的 include<reg52.h> include <def.h> include"lcd.c"uchar key;uchar num;sbit alarm=P2^4;sbit open=P2^1;uchar code table[]={' ','1','2','3','4','5','6','7','8','9','0'};void keyscan();uchar hptable[10];uchar password[6];uchar ...