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.
SerialLcd.h
00001 #ifndef MBED_SERIALLCD_H 00002 #define MBED_SERIALLCD_H 00003 00004 #include "mbed.h" 00005 #include <Stream.h> 00006 //#include "stdarg.h" 00007 00008 class SerialLcd : public Stream 00009 { 00010 public: 00011 SerialLcd(PinName,PinName=NC); 00012 00013 void cls(); 00014 void locate(int,int); 00015 int write(const char*); 00016 private: 00017 virtual int _putc(int value); 00018 virtual int _getc(); 00019 BufferedSerial _lcd; 00020 int LCD_addr; 00021 char LCD_cmd; 00022 char LCD_data; 00023 int LCD_contrast; 00024 }; 00025 #endif
Generated on Wed Jul 13 2022 09:20:34 by
1.7.2