Support for the AdaFruit_RGBLCDShield. Uses MCP23017 for control of the port expander. Code intentionally kept as close to the Arduino code released by AdaFruit to make updates easier.
Diff: Adafruit_RGBLCDShield.h
- Revision:
- 2:01f8491ca9a5
- Parent:
- 1:24ab601221e2
--- a/Adafruit_RGBLCDShield.h Mon Aug 11 19:09:40 2014 +0000 +++ b/Adafruit_RGBLCDShield.h Sat Aug 30 16:29:58 2014 +0000 @@ -69,6 +69,18 @@ public: // Updated constructor Adafruit_RGBLCDShield(MCP23017 & inMCP); + Adafruit_RGBLCDShield + ( + MCP23017 & inMCP, + uint8_t inRs, + uint8_t inRw, + uint8_t inEn, + uint8_t inD4, + uint8_t inD5, + uint8_t inD6, + uint8_t inD7 + ); + void init(uint8_t fourbitmode, uint8_t rs, uint8_t rw, uint8_t enable, uint8_t d0, uint8_t d1, uint8_t d2, uint8_t d3,