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.
Dependents: mbed-TFT-example-NCS36510 mbed-Accelerometer-example-NCS36510 mbed-Accelerometer-example-NCS36510
TextLCD.h
00001 /* mbed TextLCD Library Base Class 00002 * Copyright (c) 2007-2009 sford 00003 * Released under the MIT License: http://mbed.org/license/mit 00004 */ 00005 #include "TextDisplay.h" 00006 00007 #ifndef MBED_TEXTLCD_H 00008 #define MBED_TEXTLCD_H 00009 00010 class TextLCD : public TextDisplay { 00011 public: 00012 00013 TextLCD(PinName rs, PinName rw, PinName e, PinName d0, PinName d1, PinName d2, PinName d3, const char *name = NULL); 00014 virtual void character(int column, int row, int c); 00015 virtual int rows(); 00016 virtual int columns(); 00017 00018 // locate, cls, putc, printf come from derived class 00019 00020 protected: 00021 00022 void writeByte(int value); 00023 void writeCommand(int command); 00024 void writeData(int data); 00025 00026 DigitalOut _rw, _rs, _e; 00027 BusOut _d; 00028 }; 00029 00030 #endif
Generated on Tue Jul 12 2022 11:02:56 by
