Plymouth ELEC351 Group T
/
ELEC351_Group_T
FINAL PROJECT isn't it
Fork of ELEC351 by
Diff: SETUP.hpp
- Revision:
- 29:64b1f95a807c
- Parent:
- 28:09b5c46c8afd
- Child:
- 30:4cde05cc7c4f
--- a/SETUP.hpp Wed Jan 03 21:12:25 2018 +0000 +++ b/SETUP.hpp Wed Jan 03 22:00:07 2018 +0000 @@ -10,7 +10,7 @@ #include "SERIAL.hpp" #define SerialCommsTime 1 -'define NotSerialCommsTime 0 +#define NotSerialCommsTime 0 #define SamplingTime 1 #define NotSamplingTime 0 #define Print_Time_to_LCD 1 @@ -27,6 +27,7 @@ void Serial_Comms(); void Sample_signal_set(); void Console_Output_ISR(); +void Serial_Comms_Stealth_Mode(); float Sample_Rate; //Thread IDs @@ -54,7 +55,8 @@ Ticker Console_Output_Timer; //Threads -Thread t1; + +Thread t1(osPriorityRealtime); //Sampler Set to a higher priority cos nick wants it Thread t2; Thread t3; Thread t4; @@ -81,4 +83,5 @@ 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