EEVblog® Electronics Community Forum
Electronics => Open Source Hardware => Topic started by: david-IT on March 24, 2016, 10:25:30 am
-
#include<reg52.h>
void main(void)
{
EA=1;
EX0=1;
IT0=1;
P0=0xff;
while(1);
}
void it0(void) interrupt 0 using 0
{
P0=~P0;
}
when interrupt,what is the progress?