Nokia LCD

Dependents:   Brickbreaker

Fork of NokiaLCD by William Johnston

Revision:
1:17cee9ae350b
Parent:
0:740a742e0efa
diff -r 740a742e0efa -r 17cee9ae350b NokiaLCD.cpp
--- a/NokiaLCD.cpp	Sun Feb 27 23:34:15 2011 +0000
+++ b/NokiaLCD.cpp	Mon Apr 29 18:14:46 2013 +0000
@@ -8,8 +8,8 @@
 
 #define NOKIALCD_ROWS 16
 #define NOKIALCD_COLS 16
-#define NOKIALCD_WIDTH 132
-#define NOKIALCD_HEIGHT 130
+#define NOKIALCD_WIDTH 130
+#define NOKIALCD_HEIGHT 132
 #define NOKIALCD_FREQUENCY 5000000
 
 NokiaLCD::NokiaLCD(PinName mosi, PinName sclk, PinName cs, PinName rst, LCDType type)
@@ -67,7 +67,7 @@
         case LCD6610:
             command(0xCA);    // display control
             data(0);
-            data(31);
+            data(32);
             data(0);
             command(0xBB);
             data(1);