![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Time: 17:33 Date: 10/12/2017 Description: Task 1,7,8 Currently Functioning
Dependencies: BME280 BMP280 TextLCD
Working Repository
LCD.hpp
- Committer:
- thomasmorris
- Date:
- 2018-01-03
- Revision:
- 28:09b5c46c8afd
- Parent:
- 25:36699ed589ab
- Child:
- 47:6d128e500875
File content as of revision 28:09b5c46c8afd:
#ifndef _LCD_HPP_ //Known as header guards #define _LCD_HPP_ #include <string> class LCD //This creates a class called Led { public: LCD(PinName E, PinName RS, PinName RW, PinName DB0, PinName DB1, PinName DB2, PinName DB3, PinName DB4, PinName DB5, PinName DB6, PinName DB7); ~LCD(); void clock_in(); void Function_Set(); void Display_Off(); void Display_Clear(); void Entry_Mode_Set(); void Display_On(); void DDRAM_Address(int Address); void Write_String(string Word); void Initialise(); private: DigitalOut _E; DigitalOut _RS; DigitalOut _RW; DigitalOut _DB0; DigitalOut _DB1; DigitalOut _DB2; DigitalOut _DB3; DigitalOut _DB4; DigitalOut _DB5; DigitalOut _DB6; DigitalOut _DB7; }; #endif