#include "msp430.h" void delaytime(unsigned int timex) { while (timex != 0) { timex--; } } void submitfce(unsigned int outputbit) { unsigned int fcex; P1OUT &= ~(outputbit); for (fcex = 6; fcex > 0; fcex--) { P1OUT ^= outputbit; delaytime(30000); } P1OUT |= outputbit; delaytime(60000); P1OUT &= ~outputbit; }