Proj 324 Final

Fork of ELEC351_Group_T by Plymouth ELEC351 Group T

Committer:
thomasmorris
Date:
Tue Jan 09 22:27:49 2018 +0000
Revision:
52:99915f5240b2
Parent:
48:244d6d81bb52
Child:
53:71f59e195f06
ITS THE FINAL COMMIT MESSAGE DO DO DO DO DO

Who changed what in which revision?

UserRevisionLine numberNew contents of line
thomasmorris 52:99915f5240b2 1 /*
thomasmorris 52:99915f5240b2 2 This is where we enable writing to the Serial interface
thomasmorris 52:99915f5240b2 3 */
thomasmorris 52:99915f5240b2 4
thomasmorris 52:99915f5240b2 5 #ifndef SERIAL_HPP//Header Guards Prevents Multiple includes
thomasmorris 25:36699ed589ab 6 #define SERIAL_HPP
thomasmorris 52:99915f5240b2 7 //Libraries and header includes
thomasmorris 25:36699ed589ab 8 #include "mbed.h"
thomasmorris 25:36699ed589ab 9 #include <iostream>
thomasmorris 47:6d128e500875 10 #include "FIFO.hpp"
thomasmorris 25:36699ed589ab 11 using namespace std;
thomasmorris 52:99915f5240b2 12 static Serial pc(USBTX, USBRX); //Define serial namespace so the serial comms can be printed to
thomasmorris 52:99915f5240b2 13 bool Decimal_Check(char Input[100]); //Checks if the input character array as a decimal within it
thomasmorris 52:99915f5240b2 14 int Decimal_Position(char Input[100]); //Finds where the Decimal Position is within the array
thomasmorris 25:36699ed589ab 15 #endif