Plymouth ELEC351 Group T / Mbed OS ELEC351

Dependencies:   BME280 BMP280 TextLCD

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers SERIAL.hpp Source File

SERIAL.hpp

00001 #ifndef SERIAL_HPP //Known as header guards
00002 #define SERIAL_HPP
00003 
00004 #include "mbed.h"
00005 #include <iostream>
00006 #include "FIFO.hpp"
00007 using namespace std;
00008 
00009 void DELETE_ALL();
00010 void READ_n();
00011 void DELETE_n();
00012 float SETDATE();
00013 float SETT();//Set the sampling rate
00014 void STATE();//Start or Stop sampling
00015 void LOGGING();   
00016 static Serial pc(USBTX, USBRX);//Define serial namespace so the serial comms can be printed to
00017 extern int Log_Value;//Value of the Log
00018 
00019 bool Decimal_Check(char Input[100]);
00020 
00021 int Decimal_Position(char Input[100]);
00022 
00023 
00024 #endif