Go to the source code of this file.
|
#define | STATE_COUNT 3 |
| We have 4 demo states.- 0 -> 3 = 4.
|
|
We have 4 demo states.- 0 -> 3 = 4.
Definition at line 4 of file demo.h.
Function: DemoMenu
Preconditions: None.
Overview: Handles the main demo state machine.
Arguments: None.
Returns: None.
Definition at line 191 of file demo.c.
unsigned char get_state |
( |
void |
| ) |
|
Function: get_State
Preconditions: None.
Overview: Returns the current demo state.
Arguments: None.
Returns: None.
Definition at line 155 of file demo.c.
void keyPressHandler |
( |
void |
| ) |
|
Function: keyPressHandler
Preconditions: None.
Overview: Depending on the demo state, executes different events when a switch is pressed.
Arguments: None.
Returns: None.
Definition at line 74 of file demo.c.
void set_state |
( |
unsigned char |
value | ) |
|
Function: set_State
Preconditions: None.
Overview: Sets the demo state to a specified one.
Arguments: New demo state value.
Returns: None.
Definition at line 171 of file demo.c.