Nokia LCD

Dependents:   Brickbreaker

Fork of NokiaLCD by William Johnston

Files at this revision

API Documentation at this revision

Comitter:
ipapp3
Date:
Mon Apr 29 18:14:46 2013 +0000
Parent:
0:740a742e0efa
Commit message:
Final commit

Changed in this revision

NokiaLCD.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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);