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.
Dependencies: BME280 BMP280 TextLCD
LCD.hpp
00001 #ifndef _LCD_HPP_ //Known as header guards 00002 #define _LCD_HPP_ 00003 00004 #include <string> 00005 #include "mbed.h" 00006 #include "rtos.h" 00007 # 00008 class LCD //This creates a class called Led 00009 { 00010 00011 public: 00012 00013 LCD(PinName E, PinName RS, PinName RW, PinName DB0, PinName DB1, PinName DB2, PinName DB3, PinName DB4, PinName DB5, PinName DB6, PinName DB7); 00014 ~LCD(); 00015 void clock_in(); 00016 void Function_Set(); 00017 void Display_Off(); 00018 void Display_Clear(); 00019 void Entry_Mode_Set(); 00020 void Display_On(); 00021 void DDRAM_Address(int Address); 00022 void Write_String(string Word); 00023 void Initialise(); 00024 00025 private: 00026 00027 DigitalOut _E; 00028 DigitalOut _RS; 00029 DigitalOut _RW; 00030 00031 DigitalOut _DB0; 00032 DigitalOut _DB1; 00033 DigitalOut _DB2; 00034 DigitalOut _DB3; 00035 DigitalOut _DB4; 00036 DigitalOut _DB5; 00037 DigitalOut _DB6; 00038 DigitalOut _DB7; 00039 00040 }; 00041 00042 00043 #endif
Generated on Sun Jul 31 2022 05:12:27 by
1.7.2