Set of routines to access 16*32character LCD display on WattBob I board.
Dependents: Assignment_2_herpe Final_V1 ass2 ass2 ... more
Diff: WattBob_TextLCD.h
- Revision:
- 7:020722c18a8b
- Parent:
- 6:b2336a1a1810
- Child:
- 8:5a1c4254e4a6
diff -r b2336a1a1810 -r 020722c18a8b WattBob_TextLCD.h --- a/WattBob_TextLCD.h Mon Nov 29 15:39:07 2010 +0000 +++ b/WattBob_TextLCD.h Thu Mar 24 13:46:06 2011 +0000 @@ -21,14 +21,15 @@ * Example : * @code * ..... - * #include "MCP23017" + * #include "MCP23017.h" * #include "WattBob_TextLCD.h" * ..... * MCP23017 *par_port; * WattBob_TextLCD *lcd; * ..... * int main() - * par_port = new MCP23017(p9, p10, 0x40); + * par_port = new MCP23017(p9, p10, 0x40); + * par_port->config(0x0F00, 0x0F00, 0x0F00); // configure MCP23017 chip on WattBob * lcd = new WattBob_TextLCD(par_port); * * par_port->write_bit(1,BL_BIT); // turn LCD backlight ON