demo new haven display

Dependencies:   LCD Menu ButtonCtrl TimeManagement EventLog AddressMap emic2

ESCM 2000 Control and Display application provides interface for the LPC1768 processor boards with the ECSM 2000 system.

This application implements SW interface : - RX 485 Receive from physical system - RX 485 Interface to send toECOM / ESCM board - CAN Interface to send to ECOM / ESCM board - 4x40 LCD with menu controls - RTC configuration -EMIC2 Sound Card - GPIO Extender to push buttons etc

Revision:
1:a16e53a9e991
Parent:
0:91f25a0f819c
Child:
3:ecaf9963341b
--- a/main.cpp	Sun Jun 16 00:34:30 2019 +0000
+++ b/main.cpp	Sun Jun 16 14:37:37 2019 +0000
@@ -14,29 +14,33 @@
     pc.printf("=====================================\n\r");
 
     MyLCD.init();
-    MyLCD.display("Initializing System...");
+    //MyLCD.display("Initializing System...");
     
-    //MyLCD.locate(1,1);
-    //MyLCD.write("Initializing System...");
+    MyLCD.locate(1,1);
+    MyLCD.write("Initializing System.......Hello World!");
     
     pc.printf("=====================================\n\r");
     pc.printf("= Launch                            =\n\r");
     pc.printf("=====================================\n\r");
-    //myLcd.clear(1,1);
-    //MyLCD.writeCharacters("ABCDEFGHIJKLMNOPQRSTUVWXYZ..............",0,0);
+   // myLcd.clear(1,1);
+   // MyLCD.writeCharacters("ABCDEFGHIJKLMNOPQRSTUVWXYZ..............",0,0);
+    //wait_ms(5);
     //MyLCD.writeCharacters("----------------------------------------",1,0);
-    //MyLCD.writeCharacters("abcdefghijklmnopqrstuvwxyz!!!!!!!!!!!!!!",2,0);
-    //MyLCD.writeCharacters("0123456789012345678901234567890123456789",3,0);
+    //wait_ms(5);
+    //MyLCD.write("Hello World!!!!");
+    //wait_ms(5);
+    //MyLCD.writeCharacters("----------------------------------------",3,0);
+    //wait_ms(5);
     
     
     MyLCD.writeCommand((char)0x80,1,0); //address 0 position (=0,=0)
     MyLCD.writeData   ((char)0x55,1,0); //x
     
-    int i=0;
+    //int i=0;
     while(1) {
-        wait_ms(10);
-        MyLCD.writeCommand(0x80,1,0); //Turn on display; no cursor 
-        MyLCD.writeData   (0x55,1,0); //Turn on display; no cursor 
+        wait_ms(5);
+        //MyLCD.writeCommand(0x80,1,0); //Turn on display; no cursor 
+        //MyLCD.writeData   (0x55,1,0); //Turn on display; no cursor 
         //MyLCD.locate(0,1);
         //MyLCD.writeCharacter('X',0,i++);
         //if(i>MyLCD.columns())