25 #ifndef __STATE_MACHINE_H__
26 #define __STATE_MACHINE_H__
31 #define STARTING_STATE STATE_ONE
32 #define STATE_DEBOUNCE_DELAY 300
33 #define STATE_QUEUE_LENGTH 1
38 #define STATE_MACHINE_PERIOD 10
int xStateMachineInit(void)
Initialized the states for the state machine.
Definition: state_machine.c:34
void vStateMachineTask(void *pvParameters)
Function to be run as the state machine's task, orchestrates a periodic call to states run.
Definition: state_machine.c:26
int vCheckStateInput(void)
Checks if the button C was pressed and if so increments the system's state.
Definition: state_machine.c:11