单片机小白学习之路(十三)---外部中断0实现led闪烁
目标:外部中断0实现led闪烁#include<reg52.h>typedef unsigned int u16;typedef unsigned char u8;sbit k3 = P3^2; //独立按键,连接外部中断0sbit led = P2^0;void delay(u16 i){ while(i--);}void Int...