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.
Fork of 352 by
lcdClass.h
00001 #ifndef MBED_LCDCLASS_H 00002 #define MBED_LCDCLASS_H 00003 00004 #include "mbed.h" 00005 00006 class lcdClass : public Stream { 00007 public: 00008 lcdClass(PinName rs, PinName e, PinName d4, PinName d5, PinName d6, PinName d7); 00009 00010 #if DOXYGEN_ONLY 00011 int putc(int c); 00012 int printf(const char* format, ...); 00013 #endif 00014 void locate(int column, int row); 00015 void cls(); 00016 protected: 00017 virtual int _putc(int value); 00018 virtual int _getc(); 00019 00020 void character(int column, int row, int c); 00021 void writeByte(int value); 00022 void writeCommand(int command); 00023 void writeData(int data); 00024 00025 DigitalOut _rs, _e; 00026 BusOut _d; 00027 00028 int _column; 00029 int _row; 00030 }; 00031 00032 #endif
Generated on Tue Jul 12 2022 21:51:19 by
