#include"n76e003.h"
void Init_LED(void)
{
P0M1 &=0X00;P0M2 |=0XFF;//ÉèÖÃP0È«²¿ÍÆÍìÊä³ö
P1M1 &=0XF7;P0M2 |=0XFF;//ÉèÖÃp1.3ΪÍÆÍìÊä³ö
}
void main ()
{
//P0M1=0X00;P0M2=0XFF;
Init_LED();
//P1M1=0X00;P1M2=0XFF;//ÉèÖÃp1.3ΪÍÆÍìÊä³ö
{
while(1)
{
P0=0X00;//P0µÍµçƽµãÁÁled
P1=0X00;//p1.3µÍµçƽµãÁÁ
}
}
}
|