typedef enum { /* Application's state machine's initial state. */ APP_STATE_INIT=0, // APP_STATE_SERVICE_TASKS, /* TODO: Define states used by the application state machine. */ /* Create the Timer Object */ APP_STATE_TIMER_OBJECT_CREATE, /* De-bounce the button press to start blinking. */ APP_STATE_DEBOUNCE_START, /* LED is blinking, don't do anything*/ APP_STATE_LED_BLINKING, /* De-bounce the button press to stop blinking. */ APP_STATE_DEBOUNCE_STOP, /* LED is not blinking, don't do anything */ APP_STATE_IDLE } APP_STATES;