Untitled
fsm_trans_t switch_tmr[] = { { LED_OFF, button_pressed, LED_ON, on_function }, { LED_ON, timeout, LED_OFF, off_function }, { LED_ON, button_pressed, LED_ON2, on_function2 }, { LED_ON2, timeout, LED_OFF, off_function }, { LED_ON2, button_pressed, LED_ON, on_function }, };