#define _MAIN_C_
#include ".\INC\Config.h"
#define DELAY 60000
void main(void)
{
unsigned int i;
P2CR = 0xFF;
P2PCR = 0xFF;
P2 = 0xFF;
P0CR = 0xFF;
P0PCR = 0xFF;
P0 = 0xFF;
P1CR = 0xFF;
P1PCR = 0xFF;
P1 = 0xFF;
P3CR = 0xFF;
P3PCR = 0xFF;
P3 = 0xFF;
while(1)
{
P2^=0xFF;
P1^=0xFF;
P3^=0xFF;
P4^=0xFF;
for(i=0;i<DELAY;i++);
}
} |