Fix all the following issues which we faced during 01st April internal demo 1) Display hang and jump issue 2) Sequencing issue 3) Issue with BP code

Dependencies:   SDFileSystem ds3231 program mbed testUniGraphic_150217

Fork of Int_Demo_01Apr2017_newdisplaycode_bp_nikita by nikita teggi

Revision:
11:9a6545c2eb5d
Parent:
3:9a06c2bed650
--- a/ec_bp.cpp	Wed May 03 05:32:37 2017 +0000
+++ b/ec_bp.cpp	Wed May 03 08:49:30 2017 +0000
@@ -109,7 +109,7 @@
 //    printf("Device is in SDATAC mode\n");
     
     regRead(REG_ID);
-    printf("DEVICE ID register read from ADS is= 0x%X\n",data1);
+    printf("DEVICE ID register read from ADS is= 0x%X\n",data1);  
     wait(1);
     
     //Since we are using internal 2.42V reference and enable clock on the CLK PIN