#include "bsp_led.h"
include "bsp_init.h"
include "Delay.h"
#include "Sys_Init.h"
unsigned char ucLed;
void main(void)
{
Cls_Peripheral();
while(1)
{
ucLed=0x01;
Led_Disp(ucLed);
Delay(200);
ucLed ^=1;
Led_Disp(ucLed);
Delay(200);
}
}
void isr_intr_0() interrupt 0
{
Cls_Peripheral();
ucLed=0x80;
Led_Disp(ucLed);
Delay(1000);
ucLed=0;
}