FINAL PROJECT isn't it

Fork of ELEC351 by Plymouth ELEC351 Group T

SERIAL.hpp

Committer:
thomasmorris
Date:
2018-05-07
Revision:
53:71f59e195f06
Parent:
52:99915f5240b2

File content as of revision 53:71f59e195f06:

/*
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