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: mbed
LCD.hpp
- Committer:
- chills
- Date:
- 2017-12-27
- Revision:
- 4:2759062f4264
File content as of revision 4:2759062f4264:
#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 Binary_Convert(int Integer); 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 _RW; DigitalOut _RS; DigitalOut _E; DigitalOut _DB0; DigitalOut _DB1; DigitalOut _DB2; DigitalOut _DB3; DigitalOut _DB4; DigitalOut _DB5; DigitalOut _DB6; DigitalOut _DB7; }; #endif