![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
FINAL PROJECT isn't it
Fork of ELEC351 by
Diff: SETUP.hpp
- Revision:
- 37:7c4d7f206039
- Parent:
- 35:26b0a9b55d82
- Child:
- 38:8d86e0d8a816
diff -r a0098306fc58 -r 7c4d7f206039 SETUP.hpp --- a/SETUP.hpp Sun Jan 07 16:17:24 2018 +0000 +++ b/SETUP.hpp Sun Jan 07 19:21:11 2018 +0000 @@ -22,6 +22,9 @@ #define EDGE_FALLEN 0 #define mailsize 5 #include <iostream> + +LCD LCD(D8,D9,D4,A0,A1,A2,A3,D7,D6,D3,D1); + Serial pc(USBTX, USBRX); //SW1+SW2 are declared as interrupt ins in sample hardware.cpp //Forward Declarations @@ -29,7 +32,7 @@ void Serial_Comms(); void Sample_signal_set(); void Console_Output_ISR(); -void Serial_Comms_Stealth_Mode(); +void Serial_Comms_Data_Get(); float Sample_Rate; //Thread IDs @@ -48,7 +51,6 @@ LED Yellow_led(PB_10); LED Green_led(PB_11); -LCD LCD(D8,D9,D4,A0,A1,A2,A3,D7,D6,D3,D1); char LCD_buffer [50]; int LCD_sprintf; @@ -82,6 +84,7 @@ void SW1RisingEdge(); void SW2RisingEdge(); + DATA Data_Active; DATA Data_Buffer[mailsize];