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:
- 6:b2336a1a1810
- Parent:
- 5:7d2072e818e8
- Child:
- 7:020722c18a8b
--- a/WattBob_TextLCD.h Mon Nov 29 14:57:53 2010 +0000 +++ b/WattBob_TextLCD.h Mon Nov 29 15:39:07 2010 +0000 @@ -21,15 +21,14 @@ * Example : * @code * ..... - * #include "MCP23017.h" + * #include "MCP23017" * #include "WattBob_TextLCD.h" * ..... * MCP23017 *par_port; * WattBob_TextLCD *lcd; * ..... * int main() - * par_port = new MCP23017(p9, p10, 0x40); - * par_port->config(0x0F00, 0x0F00, 0x0F00); // configure MCP23017 chip on WattBob + * par_port = new MCP23017(p9, p10, 0x40); * lcd = new WattBob_TextLCD(par_port); * * par_port->write_bit(1,BL_BIT); // turn LCD backlight ON