26 #include <io430x22x4.h>
33 #define MINUTE_TO_SECOND 60
43 static int control_time_counter;
50 static int control_time = 60;
56 static int timeout_counter = 0;
73 control_time_counter++;
74 if(control_time_counter >= control_time)
117 int time_aux = atoi(time);
137 control_time_counter = 0;
153 TACTL |= TASSEL_1 + MC_2;
166 TBCTL |= TBSSEL_1 + MC_2;
184 #pragma vector=TIMERA1_VECTOR
189 case 2: P1OUT ^= 0x01;
201 #pragma vector=TIMERB1_VECTOR
206 case 2: TBCCR1 += 48000;