Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of ELEC351_Group_T by
Diff: LCD.hpp
- Revision:
- 47:6d128e500875
- Parent:
- 28:09b5c46c8afd
- Child:
- 48:244d6d81bb52
--- 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
