Time: 17:33 Date: 10/12/2017 Description: Task 1,7,8 Currently Functioning
Dependencies: BME280 BMP280 TextLCD
Working Repository
SERIAL.hpp@50:3d61ca637399, 2018-01-09 (annotated)
- Committer:
- thomasmorris
- Date:
- Tue Jan 09 12:19:12 2018 +0000
- Revision:
- 50:3d61ca637399
- Parent:
- 48:244d6d81bb52
Dynamic Dating Working
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
thomasmorris | 25:36699ed589ab | 1 | #ifndef SERIAL_HPP //Known as header guards |
thomasmorris | 25:36699ed589ab | 2 | #define SERIAL_HPP |
thomasmorris | 25:36699ed589ab | 3 | |
thomasmorris | 25:36699ed589ab | 4 | #include "mbed.h" |
thomasmorris | 25:36699ed589ab | 5 | #include <iostream> |
thomasmorris | 47:6d128e500875 | 6 | #include "FIFO.hpp" |
thomasmorris | 25:36699ed589ab | 7 | using namespace std; |
thomasmorris | 25:36699ed589ab | 8 | |
thomasmorris | 25:36699ed589ab | 9 | void DELETE_ALL(); |
thomasmorris | 25:36699ed589ab | 10 | void READ_n(); |
thomasmorris | 25:36699ed589ab | 11 | void DELETE_n(); |
thomasmorris | 25:36699ed589ab | 12 | float SETDATE(); |
thomasmorris | 25:36699ed589ab | 13 | float SETT();//Set the sampling rate |
thomasmorris | 25:36699ed589ab | 14 | void STATE();//Start or Stop sampling |
thomasmorris | 48:244d6d81bb52 | 15 | void LOGGING(); |
thomasmorris | 47:6d128e500875 | 16 | static Serial pc(USBTX, USBRX);//Define serial namespace so the serial comms can be printed to |
thomasmorris | 48:244d6d81bb52 | 17 | extern int Log_Value;//Value of the Log |
thomasmorris | 47:6d128e500875 | 18 | |
thomasmorris | 47:6d128e500875 | 19 | bool Decimal_Check(char Input[100]); |
thomasmorris | 47:6d128e500875 | 20 | |
thomasmorris | 47:6d128e500875 | 21 | int Decimal_Position(char Input[100]); |
thomasmorris | 25:36699ed589ab | 22 | |
thomasmorris | 25:36699ed589ab | 23 | |
thomasmorris | 25:36699ed589ab | 24 | #endif |