Time: 17:33 Date: 10/12/2017 Description: Task 1,7,8 Currently Functioning
Dependencies: BME280 BMP280 TextLCD
Working Repository
LCD_COMMAND.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 | 48:244d6d81bb52 | 1 | #ifndef LCD_COMMAND_HPP |
thomasmorris | 48:244d6d81bb52 | 2 | #define LCD_COMMAND_HPP |
thomasmorris | 48:244d6d81bb52 | 3 | |
thomasmorris | 48:244d6d81bb52 | 4 | #include "SERIAL.hpp" |
thomasmorris | 48:244d6d81bb52 | 5 | #include <iostream> |
thomasmorris | 48:244d6d81bb52 | 6 | #include <sstream> |
thomasmorris | 48:244d6d81bb52 | 7 | #include "sample_hardware.hpp" |
thomasmorris | 48:244d6d81bb52 | 8 | #include "TIME.hpp" |
thomasmorris | 48:244d6d81bb52 | 9 | #include "DATA.hpp" |
thomasmorris | 48:244d6d81bb52 | 10 | #include "LCD_COMMAND.hpp" |
thomasmorris | 48:244d6d81bb52 | 11 | #include "LCD.hpp" |
thomasmorris | 48:244d6d81bb52 | 12 | #define Default_Mode_Toggle_Time 3000 |
thomasmorris | 48:244d6d81bb52 | 13 | static char LCD_buffer [50]; |
thomasmorris | 48:244d6d81bb52 | 14 | using namespace std; |
thomasmorris | 48:244d6d81bb52 | 15 | static Mutex Time_Lock_Main; |
thomasmorris | 48:244d6d81bb52 | 16 | static LCD LCD(D8,D9,D4,A0,A1,A2,A3,D7,D6,D3,D1);//LCD object creation via constructor |
thomasmorris | 48:244d6d81bb52 | 17 | //extern LCD LCD(D8,D9,D4,A0,A1,A2,A3,D7,D6,D3,D1); |
thomasmorris | 48:244d6d81bb52 | 18 | void LCD_Write_Year(); |
thomasmorris | 48:244d6d81bb52 | 19 | void LCD_Write_Month(); |
thomasmorris | 48:244d6d81bb52 | 20 | void LCD_Write_Day(); |
thomasmorris | 48:244d6d81bb52 | 21 | void LCD_Write_Hour(); |
thomasmorris | 48:244d6d81bb52 | 22 | void LCD_Write_Minute(); |
thomasmorris | 48:244d6d81bb52 | 23 | void LCD_Write_Seconds(); |
thomasmorris | 48:244d6d81bb52 | 24 | void LCD_Print_Output(); |
thomasmorris | 48:244d6d81bb52 | 25 | static int mode = 0;//Used to switch modes in serial comms |
thomasmorris | 48:244d6d81bb52 | 26 | |
thomasmorris | 48:244d6d81bb52 | 27 | |
thomasmorris | 48:244d6d81bb52 | 28 | #endif |