![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Proj 324 Final
Fork of ELEC351_Group_T by
SETUP.hpp
- Committer:
- thomasmorris
- Date:
- 2018-01-09
- Revision:
- 52:99915f5240b2
- Parent:
- 48:244d6d81bb52
- Child:
- 53:71f59e195f06
File content as of revision 52:99915f5240b2:
/* Setup file for the main */ #ifndef SETUP_HPP//Header Guards Prevents Multiple includes #define SETUP_HPP //Libraries and header includes #include "rtos.h" #include "LED.hpp" #include "DATA.hpp" #include "LCD.hpp" #include "SERIAL.hpp" #include "TIME.hpp" #include "NETWORK.hpp" #include "FIFO.hpp" #include "SD_CARD.hpp" #include "SERIAL_COMMANDS.hpp" #include "SAMPLE.hpp" #include "THREADS.hpp" #include "LED_LOGGING.hpp" //Time definitions #define TimerInterval 15 //This is in seconds #define SW1_SW2_Timeout_Time 15 //This is in seconds //Time outs Timeout SW1TimeOut; //Used to prevent lockups Timeout SW2TimeOut; //Used to prevent lockups //Forward Declarations of functions void Serial_Comms(); void Sample_signal_set(); void Console_Output_ISR(); void Serial_Comms_Data_Get(); void Sampling_ISR(); void Console_Output_ISR(); void SW1TimeOutHandler(); void SW1FallingEdge(); void SW2TimeOutHandler(); void SW2FallingEdge(); #endif