Set of routines to access 16*32character LCD display on WattBob I board.

Dependents:   Assignment_2_herpe Final_V1 ass2 ass2 ... more

Revision:
7:020722c18a8b
Parent:
0:e5b7c70254ac
Child:
8:5a1c4254e4a6
--- a/WattBob_TextLCD.cpp	Mon Nov 29 15:39:07 2010 +0000
+++ b/WattBob_TextLCD.cpp	Thu Mar 24 13:46:06 2011 +0000
@@ -105,7 +105,7 @@
     
     _row = row;
     _column = column;
-    int address = 0x80 + (_row * 40) + _column; // memory starts at 0x80, and is 40 chars long per row
+    int address = 0x80 + (_row * 0x40) + _column; // memory starts at 0x80, and internally it is 40 chars per row (only first 16 used)
     writeCommand(address);            
 }