#include #define LED1 P1_0 #define SW1 P1_2 void delay(unsigned int time){ unsigned int i,j; for(i = 0;i