#include <p24FJ128GB106.h>
#include "GenericTypeDefs.h"
#include "definitions.h"
#include "inputs.h"
#include "outputs.h"
#include "LCD.h"
#include "init.h"
#include "analog.h"
#include "EEPROM.h"
#include "demo.h"
Go to the source code of this file.
- Enumerator:
TIME |
Time state
|
INPUT |
|
OPTO |
|
EEPROM |
|
Definition at line 44 of file demo.c.
Function: DemoMenu
Preconditions: None.
Overview: Handles the main demo state machine.
Arguments: None.
Returns: None.
Definition at line 191 of file demo.c.
void EEPROM_demo |
( |
void |
| ) |
|
Function: EEPROM_demo
Preconditions: None.
Overview: Calls test_EEPROM() and tests the EEPROM.
Arguments: None.
Returns: None.
Definition at line 319 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.
Function: InputDemo
Preconditions: None.
Overview: Displays DIP switch and ADC values on the LCD.
Arguments: None.
Returns: None.
Definition at line 238 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.
Function: OptoDemo
Preconditions: None.
Overview: Displays the Opto Isolated Inputs current state.
Arguments: None.
Returns: None.
Definition at line 278 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.
Function: TimeDemo
Preconditions: None.
Overview: Displays a clock that uses the internal RTCC module.
Arguments: None.
Returns: None.
Definition at line 212 of file demo.c.
unsigned char backlight_index =4 |
unsigned char message[] = " " |