It shows by an example how to use TextLCD library

Dependents:   STMNucleoF401RE_ExampleCode_04_LCD

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: