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: AdaFruit_RGBLCDShield MCP23017 mbed RTclock
Fork of MCP_test by
lcd.h
00001 #ifndef __LCD_H__ 00002 #define __LCD_H__ 00003 00004 class LCD 00005 : public Serial // for printf 00006 { 00007 public: 00008 LCD(I2C & in_cI2C); 00009 virtual int _putc(int c) = 0; 00010 00011 virtual void clear() = 0; 00012 virtual uint8_t columns() = 0; 00013 virtual void createChar(uint8_t location, uint8_t charmap[]) = 0; 00014 virtual void home() = 0; 00015 virtual uint8_t rows() = 0; 00016 virtual void setCursor(uint8_t in_nX, uint8_t in_nY) = 0; 00017 virtual void showBlink(bool in_bShow) = 0; 00018 virtual void showCursor(bool in_bShow) = 0; 00019 virtual void showDisplay(bool in_bShow) = 0; 00020 00021 protected: 00022 I2C & m_cI2C; 00023 }; 00024 00025 #endif // __LCD_H__
Generated on Thu Jul 14 2022 00:55:23 by
1.7.2
