#define uCHAR unsigned char
#define uINT unsigned int
#define uLONG unsigned long
#include "REG_MA82G5Dxx.H"
void SoftDelayMs(uLONG);
sbit LED1 = P3^3;
//sbit LED2 = P3^4;
//sbit LED3 = P3^5;
void main()
{
uLONG i;
{
LED1=0;
for(i=0;i<60000;i++);
//SoftDelayMs(500);
LED1=1;
//SoftDelayMs(500);
for(i=0;i<60000;i++);
//while(1);
{
}
}
//SoftDelayMs(1000);
//LED2=1;
//LED3=1;
} |