Change to "#define DEFAULT 1" → "#define DEFAULT 0" and "#define LCM1602 0" → "#define LCM1602 1" in the TextLCD_Config.h

Dependents:   Test_TextLCD_F303K

Revision:
9:0893d986e717
Parent:
8:03116f75b66e
Child:
10:dd9b3a696acd
--- a/TextLCD.cpp	Tue Jan 29 20:49:33 2013 +0000
+++ b/TextLCD.cpp	Thu Jan 31 19:46:00 2013 +0000
@@ -192,6 +192,7 @@
         case LCD16x2:
         case LCD20x2:
         case LCD24x2:        
+        case LCD40x2:                
             return 0x00 + (row * 0x40) + column;
             
 // Should never get here.
@@ -229,6 +230,9 @@
 
         case LCD24x2:
             return 24;        
+
+        case LCD40x2:
+            return 40;        
         
 // Should never get here.
         default:
@@ -246,6 +250,7 @@
         case LCD16x2B:
         case LCD20x2:
         case LCD24x2:        
+        case LCD40x2:                
             return 2;
                     
         case LCD16x4: