Plymouth ELEC351 Group T
/
ELEC351_Group_T
FINAL PROJECT isn't it
Fork of ELEC351 by
Diff: SETUP.hpp
- Revision:
- 30:4cde05cc7c4f
- Parent:
- 29:64b1f95a807c
- Child:
- 34:c0b8705f183d
--- a/SETUP.hpp Wed Jan 03 22:00:07 2018 +0000 +++ b/SETUP.hpp Sat Jan 06 17:43:17 2018 +0000 @@ -8,7 +8,7 @@ #include "DATA.hpp" #include "LCD.hpp" #include "SERIAL.hpp" - +#include "TIME.hpp" #define SerialCommsTime 1 #define NotSerialCommsTime 0 #define SamplingTime 1 @@ -40,6 +40,7 @@ Timeout sw1TimeOut;//Used to prevent switch bounce +Timeout sw2TimeOut;//Used to prevent switch bounce LED Red_led(PE_15); LED Yellow_led(PB_10); @@ -75,6 +76,8 @@ void SW1TimeOutHandler(); void Sampling_ISR(); void Console_Output_ISR(); +void SW1RisingEdge(); +void SW2RisingEdge(); using namespace std; @@ -83,5 +86,6 @@ Mail<DATA, mailsize> mail_box; //Mail Queue, Type DATA, Capacity mailsize(defined above), name mail_box + //DigitalIn onBoardSwitch(USER_BUTTON); #endif \ No newline at end of file