Plymouth ELEC351 Group T
/
ELEC351_Group_T
FINAL PROJECT isn't it
Fork of ELEC351 by
Diff: SERIAL.hpp
- Revision:
- 52:99915f5240b2
- Parent:
- 48:244d6d81bb52
- Child:
- 53:71f59e195f06
--- a/SERIAL.hpp Tue Jan 09 15:15:08 2018 +0000 +++ b/SERIAL.hpp Tue Jan 09 22:27:49 2018 +0000 @@ -1,24 +1,15 @@ -#ifndef SERIAL_HPP //Known as header guards +/* +This is where we enable writing to the Serial interface +*/ + +#ifndef SERIAL_HPP//Header Guards Prevents Multiple includes #define SERIAL_HPP - +//Libraries and header includes #include "mbed.h" #include <iostream> #include "FIFO.hpp" using namespace std; - -void DELETE_ALL(); -void READ_n(); -void DELETE_n(); -float SETDATE(); -float SETT();//Set the sampling rate -void STATE();//Start or Stop sampling -void LOGGING(); -static Serial pc(USBTX, USBRX);//Define serial namespace so the serial comms can be printed to -extern int Log_Value;//Value of the Log - -bool Decimal_Check(char Input[100]); - -int Decimal_Position(char Input[100]); - - +static Serial pc(USBTX, USBRX); //Define serial namespace so the serial comms can be printed to +bool Decimal_Check(char Input[100]); //Checks if the input character array as a decimal within it +int Decimal_Position(char Input[100]); //Finds where the Decimal Position is within the array #endif \ No newline at end of file