Time: 17:33 Date: 10/12/2017 Description: Task 1,7,8 Currently Functioning

Dependencies:   BME280 BMP280 TextLCD

Working Repository

SERIAL.hpp

Committer:
thomasmorris
Date:
2018-01-09
Revision:
50:3d61ca637399
Parent:
48:244d6d81bb52

File content as of revision 50:3d61ca637399:

#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