Thomas Morris
/
PROJ324_Final
Proj 324 Final
Fork of ELEC351_Group_T by
SERIAL_COMMANDS.hpp@57:aba1296e51b1, 2018-08-15 (annotated)
- Committer:
- thomasmorris
- Date:
- Wed Aug 15 21:34:59 2018 +0000
- Revision:
- 57:aba1296e51b1
- Parent:
- 53:71f59e195f06
Final Version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
thomasmorris | 52:99915f5240b2 | 1 | /* |
thomasmorris | 52:99915f5240b2 | 2 | This is where the serial interface is controlled from |
thomasmorris | 52:99915f5240b2 | 3 | */ |
thomasmorris | 52:99915f5240b2 | 4 | |
thomasmorris | 52:99915f5240b2 | 5 | #ifndef SERIAL_COMMANDS_HPP//Header Guards Prevents Multiple includes |
thomasmorris | 47:6d128e500875 | 6 | #define SERIAL_COMMANDS_HPP |
thomasmorris | 52:99915f5240b2 | 7 | //Libraries and header includes |
thomasmorris | 47:6d128e500875 | 8 | #include "TIME.hpp" |
thomasmorris | 47:6d128e500875 | 9 | #include "SERIAL.hpp" |
thomasmorris | 53:71f59e195f06 | 10 | #include "LED_LOGGING.hpp" |
thomasmorris | 57:aba1296e51b1 | 11 | #include "MOVES.hpp" |
thomasmorris | 52:99915f5240b2 | 12 | |
thomasmorris | 52:99915f5240b2 | 13 | extern float Sample_Rate; |
thomasmorris | 47:6d128e500875 | 14 | void Serial_Commands_Output(); |
thomasmorris | 48:244d6d81bb52 | 15 | |
thomasmorris | 48:244d6d81bb52 | 16 | extern int NetworkWaitTime; |
thomasmorris | 52:99915f5240b2 | 17 | extern Ticker Sampling_Timer; //Controls Sampling |
thomasmorris | 53:71f59e195f06 | 18 | extern int direction; |
thomasmorris | 53:71f59e195f06 | 19 | extern int steps; |
thomasmorris | 53:71f59e195f06 | 20 | extern int Motor_To_Select; |
thomasmorris | 52:99915f5240b2 | 21 | extern char input[100]; //Character input buffer used for the serial inputs |
thomasmorris | 47:6d128e500875 | 22 | |
thomasmorris | 47:6d128e500875 | 23 | #endif |