help modify below code using the timer timer a to toggle two leds in periodic time i 5188226

Help modify below code using the timer Timer_A to toggle two LEDs in periodic time intervals of A)10 sec B)30 sec C)1 sec

#include
#define RedLED BIT0
#define RedLEDToggle (P1OUT ^= RedLED)
void main (void)
{
WDTCTL = WDTPW|WDTHOLD;
P1DIR = RedLED;
P1OUT = RedLED;
TECTL = TASSEL_2|ID_3|MC_3|TAIE;
TACCR0 = 62500;
_enable_interrupts();
LPM1;       //enter low power mode
}
#pragma vector=TIMER_A1_VECTOR
__interrupt void Timer_A(void)
{
switch(TAIV)
{
case 0x02: break;
case 0x04: break;
case 0x0A; RedLEDToggle;
break;
}
}

"Get 15% discount on your first 3 orders with us"
Use the following coupon
FIRST15

Order Now