Proj 324 Final

Fork of ELEC351_Group_T by Plymouth ELEC351 Group T

SERIAL.hpp

Committer:
thomasmorris
Date:
2018-08-15
Revision:
57:aba1296e51b1
Parent:
53:71f59e195f06

File content as of revision 57:aba1296e51b1:

/*
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>
using namespace std;
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
extern bool motor_direction;
#endif