Thomas Morris / Mbed OS PROJ324_Final

Fork of ELEC351_Group_T by Plymouth ELEC351 Group T

Revision:
47:6d128e500875
Parent:
28:09b5c46c8afd
Child:
48:244d6d81bb52
diff -r bd9e7e40b3f9 -r 6d128e500875 LCD.hpp
--- a/LCD.hpp	Mon Jan 08 19:03:49 2018 +0000
+++ b/LCD.hpp	Mon Jan 08 21:53:40 2018 +0000
@@ -2,6 +2,28 @@
 #define _LCD_HPP_
 
 #include <string>
+#include "mbed.h"
+#include "rtos.h"
+#include "SERIAL.hpp"
+#include <iostream>
+#include <sstream>
+#include "sample_hardware.hpp"
+#include "TIME.hpp"
+
+#define Default_Mode_Toggle_Time 3000
+static char LCD_buffer [50];
+using namespace std;
+static Mutex Time_Lock_Main;
+ 
+ 
+void LCD_Write_Year();
+void LCD_Write_Month();
+void LCD_Write_Day();
+void LCD_Write_Hour();
+void LCD_Write_Minute();
+void LCD_Write_Seconds();
+void LCD_Print_Output();
+static int mode = 0;//Used to switch modes in serial comms 
  
 class LCD //This creates a class called Led
 {
@@ -38,4 +60,5 @@
 };
  
  
+static LCD LCD(D8,D9,D4,A0,A1,A2,A3,D7,D6,D3,D1);//LCD object creation via constructor
 #endif
\ No newline at end of file