内容简介:按键按一次LED灯灭,在按一次按键LED灯亮。程序如下:/ include "REG52.H"sbit LED1_01 = P1^1; //LED灯 sbit KEY0_01 = P1^2; //按键 void Delay_1ms(unsigned int Time){ unsigned int x, y;f...
用户评论
havenhome