Thomas Morris / Mbed OS PROJ324_Final

Fork of ELEC351_Group_T by Plymouth ELEC351 Group T

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers SERIAL_COMMANDS.hpp Source File

SERIAL_COMMANDS.hpp

00001 /*
00002 This is where the serial interface is controlled from
00003 */
00004 
00005 #ifndef SERIAL_COMMANDS_HPP//Header Guards Prevents Multiple includes
00006 #define SERIAL_COMMANDS_HPP
00007 //Libraries and header includes
00008 #include "TIME.hpp"
00009 #include "SERIAL.hpp"
00010 #include "LED_LOGGING.hpp"
00011 #include "MOVES.hpp"
00012 
00013 extern float Sample_Rate;       
00014 void Serial_Commands_Output();
00015 
00016 extern int NetworkWaitTime;
00017 extern Ticker Sampling_Timer;   //Controls Sampling
00018 extern int direction;
00019 extern int steps;
00020 extern int Motor_To_Select;
00021 extern char input[100];         //Character input buffer used for the serial inputs
00022 
00023 #endif