Dominique Bultez / Mbed 2 deprecated DB_LCD20x4

Dependencies:   mbed

Revision:
1:4c16fd7f2821
Parent:
0:e01529ec0e2d
diff -r e01529ec0e2d -r 4c16fd7f2821 main.cpp
--- a/main.cpp	Tue Nov 23 21:14:51 2010 +0000
+++ b/main.cpp	Tue Nov 23 21:18:25 2010 +0000
@@ -1,7 +1,7 @@
 //
 //  DB_LCD20x4 Program
 //          Nov 7th,2010  Started
-//          Buldom  EN COURS
+//          
 //
 
 #include "mbed.h"
@@ -23,19 +23,8 @@
 int pos = 0;
 int array[100];
 
-//enum LCDType {
-//         LCD16x2     /**< 16x2 LCD panel (default) */
-//         , LCD16x2B  /**< 16x2 LCD panel alternate addressing */
-//         , LCD20x2   /**< 20x2 LCD panel */
-//         , LCD20x4   /**< 20x4 LCD panel */
-//         };
-// a compilation error occurs when declaring LCDType = LCD20x4 (Identifier "LCD20x4" is undefined (E20))
-// consequently, TextLCD.h has been modified with default LCDType = LCD20x4
-// and LCDType is not declared in TextLCD function below;
-
 TextLCD lcd(p24, p26, p27, p28, p29, p30, TextLCD::LCD20x4); // rs,e,d0,d1,d2,d3,20 char's x 4 lines
 
-
 void flip() {
     myled4 = !myled4;
     array[pos] = timer.read_us();
@@ -55,7 +44,7 @@
         array[i] = 0;
     }
 
-    set_time(1290443600); // 22 Nov 2010 a 16H33
+    set_time(1290443600); // 22 Nov 2010 - 16H33
 
     lcd.cls();
     lcd.locate(0, 0);