Proj 324 Final

Fork of ELEC351_Group_T by Plymouth ELEC351 Group T

SERIAL.hpp

Committer:
thomasmorris
Date:
2018-01-09
Revision:
48:244d6d81bb52
Parent:
47:6d128e500875
Child:
52:99915f5240b2

File content as of revision 48:244d6d81bb52:

#ifndef SERIAL_HPP //Known as header guards
#define SERIAL_HPP

#include "mbed.h"
#include <iostream>
#include "FIFO.hpp"
using namespace std;

void DELETE_ALL();
void READ_n();
void DELETE_n();
float SETDATE();
float SETT();//Set the sampling rate
void STATE();//Start or Stop sampling
void LOGGING();   
static Serial pc(USBTX, USBRX);//Define serial namespace so the serial comms can be printed to
extern int Log_Value;//Value of the Log

bool Decimal_Check(char Input[100]);

int Decimal_Position(char Input[100]);


#endif