Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
301 B
3
Indexable
Never
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 },
    };