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:
- 9:3b26cd028e85
- Parent:
- 8:5a1c4254e4a6
--- a/WattBob_TextLCD.h Thu Dec 08 16:22:17 2011 +0000 +++ b/WattBob_TextLCD.h Sun Dec 11 00:14:10 2011 +0000 @@ -17,6 +17,8 @@ // // Registers and bit definitions for 2*16 character display chip // +#define CMD_NULL 0x00 + #define CMD_CLEAR_DISPLAY 0x01 #define CMD_RETURN_HOME 0x02 @@ -69,7 +71,8 @@ // // Misc 2*16 character display constants // -#define DISPLAY_INIT_DELAY_SECS 0.025f // 25mS +#define DISPLAY_INIT_DELAY_SECS 0.5f // 500mS +#define DISPLAY_CLEAR_DELAY 0.01f // 10 mS (spec is 6.2mS) /** Class to access 16*2 LCD display connected to an MCP23017 I/O extender chip *