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/lcdadafruit.h
- Revision:
- 25:24654d08a99a
- Child:
- 26:0cfd95d8f270
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/LCDadafruit/lcdadafruit.h Thu Oct 09 08:03:20 2014 +0000 @@ -0,0 +1,31 @@ +#ifndef __LCDADAFRUIT_H__ +#define __LCDADAFRUIT_H__ + +#include "lcd.h" +#include "Adafruit_RGBLCDShield.h" +#include "MCP23017.h" + +class LCDadafruit + : public LCD +{ +public: + LCDadafruit(I2C & in_cI2C); + virtual int _putc(int c); + + virtual uint8_t columns(); + virtual void clear(); + virtual void createChar(uint8_t location, uint8_t charmap[]); + virtual void home(); + virtual uint8_t rows(); + virtual void setCursor(uint8_t in_nX, uint8_t in_nY); + virtual void showBlink(bool in_bBlink); + virtual void showCursor(bool in_bShow); + virtual void showDisplay(bool in_bBlink); + +protected: + MCP23017 m_cMCP; + Adafruit_RGBLCDShield m_cLCD; + uint8_t m_nDisplayControl; +}; + +#endif // __LCDADAFRUIT_H__