![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Proj 324 Final
Fork of ELEC351_Group_T by
Diff: SETUP.hpp
- Revision:
- 26:78f5e454e59f
- Parent:
- 25:36699ed589ab
- Child:
- 28:09b5c46c8afd
--- a/SETUP.hpp Mon Jan 01 20:14:19 2018 +0000 +++ b/SETUP.hpp Wed Jan 03 15:38:40 2018 +0000 @@ -22,7 +22,8 @@ //Forward Declarations void Serial_Comms(); -void Sample_signal_set(); +void Sample_signal_set(); +void Console_Output_ISR(); float Sample_Rate; //Thread IDs @@ -46,7 +47,8 @@ //Tickers -Ticker Sample_timer; +Ticker Sampling_Timer; +Ticker Console_Output_Timer; //Threads Thread t1; @@ -66,7 +68,8 @@ void SW1FallingEdge(); void SW1TimeOutHandler(); - +void Sampling_ISR(); +void Console_Output_ISR(); using namespace std;