外部中断测试

关注0人关注
我要报错
  • 51外部中断测试

    #include#include#define GPIO_LED P2//外部中断的IOsbit K3=P3^2;sbit K4=P3^3;void IntConfiguration();void Delay(unsigned int n);unsigned char KeyValue=0;void main(void){GPIO_LED=0Xfe;IntConfiguration();