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
lcdadafruit.h
00001 #ifndef __LCDADAFRUIT_H__ 00002 #define __LCDADAFRUIT_H__ 00003 00004 #include "lcd.h" 00005 #include "Adafruit_RGBLCDShield.h" 00006 #include "MCP23017.h" 00007 00008 class LCDadafruit 00009 : public LCD 00010 { 00011 public: 00012 LCDadafruit(I2C & in_cI2C); 00013 virtual int _putc(int c); 00014 00015 virtual uint8_t columns(); 00016 virtual void clear(); 00017 virtual void createChar(uint8_t location, uint8_t charmap[]); 00018 virtual void home(); 00019 virtual uint8_t rows(); 00020 virtual void setCursor(uint8_t in_nX, uint8_t in_nY); 00021 virtual void showBlink(bool in_bBlink); 00022 virtual void showCursor(bool in_bShow); 00023 virtual void showDisplay(bool in_bBlink); 00024 00025 protected: 00026 MCP23017 m_cMCP; 00027 Adafruit_RGBLCDShield m_cLCD; 00028 }; 00029 00030 #endif // __LCDADAFRUIT_H__
Generated on Thu Jul 14 2022 00:55:23 by
1.7.2
