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.
TextLCD.h
00001 /* mbed TextDisplay Display Library Base Class 00002 * Copyright (c) 2007-2009 sford 00003 * Released under the MIT License: http://mbed.org/license/mit 00004 */ 00005 00006 #include "TextDisplay.h" 00007 00008 #ifndef MBED_TEXTLCD_H 00009 #define MBED_TEXTLCD_H 00010 00011 class TextLCD : public TextDisplay { 00012 public: 00013 00014 TextLCD(PinName rs, PinName rw, PinName e, PinName d0, PinName d1, PinName d2, PinName d3); 00015 virtual void character(int column, int row, int c); 00016 virtual int rows(); 00017 virtual int columns(); 00018 00019 protected: 00020 00021 void writeByte(int value); 00022 void writeCommand(int command); 00023 void writeData(int data); 00024 00025 DigitalOut _rw, _rs, _e; 00026 BusOut _d; 00027 }; 00028 00029 #endif
Generated on Sat Jul 16 2022 07:20:35 by
1.7.2