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: SX1276Lib AdaFruit_RGBLCD MCP23017 mbed
Fork of AdaFruit_RGBLCD by
Diff: LCDadafruit/lcd.h
- Revision:
- 31:2c813f321db7
- Parent:
- 25:24654d08a99a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/LCDadafruit/lcd.h Tue Jul 14 14:58:23 2015 +0000 @@ -0,0 +1,25 @@ +#ifndef __LCD_H__ +#define __LCD_H__ + +class LCD + : public Serial // for printf +{ +public: + LCD(I2C & in_cI2C); + virtual int _putc(int c) = 0; + + virtual void clear() = 0; + virtual uint8_t columns() = 0; + virtual void createChar(uint8_t location, uint8_t charmap[]) = 0; + virtual void home() = 0; + virtual uint8_t rows() = 0; + virtual void setCursor(uint8_t in_nX, uint8_t in_nY) = 0; + virtual void showBlink(bool in_bShow) = 0; + virtual void showCursor(bool in_bShow) = 0; + virtual void showDisplay(bool in_bShow) = 0; + +protected: + I2C & m_cI2C; +}; + +#endif // __LCD_H__