Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of ELEC351_Group_T by
SERIAL.hpp
00001 /* 00002 This is where we enable writing to the Serial interface 00003 */ 00004 00005 #ifndef SERIAL_HPP//Header Guards Prevents Multiple includes 00006 #define SERIAL_HPP 00007 //Libraries and header includes 00008 #include "mbed.h" 00009 #include <iostream> 00010 using namespace std; 00011 static Serial pc(USBTX, USBRX); //Define serial namespace so the serial comms can be printed to 00012 bool Decimal_Check(char Input[100]); //Checks if the input character array as a decimal within it 00013 int Decimal_Position(char Input[100]); //Finds where the Decimal Position is within the array 00014 extern bool motor_direction; 00015 #endif
Generated on Tue Jul 12 2022 22:52:51 by
