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:
5:a3ea7c82b7e1
Parent:
4:6bd81bb1790d
Child:
6:5e33a0f01476
--- a/main.cpp	Wed Mar 01 18:49:33 2017 +0000
+++ b/main.cpp	Thu Mar 30 11:34:04 2017 +0000
@@ -84,7 +84,7 @@
                 break;
                 
      case 7: 
-                state1=touch_again();     // determining the touch when readings are taken more than once screen 
+                state1=touch_again_ecg();     // determining the touch when readings are taken more than once screen 
                 state=0;
                 nstate1=state1;
                 break;
@@ -95,14 +95,24 @@
                 nstate1=state1;
                 break;           
                 
-                
+     case 9:    state1=touch_again_glc();  
+                state=0;
+                nstate1=state1;
+                break;            
                 
      case 10 :  DisableTouch();
                  wait_ms(300);
                  EnableTouch();
                  state=nstate;
                   break;
-                
+                  
+                  
+      case 11:   state1=touch_again_bp();            
+                 state=0;
+                 nstate1=state1;
+                 break;
+      
+      
      default :  DisableTouch();
                  wait_ms(300);
                  EnableTouch();
@@ -170,7 +180,7 @@
                {
                   screen_again();    
                  state1=0;
-                 state=7;
+                 state=9;
                  nstate=state;
                  }
             else
@@ -247,7 +257,7 @@
                 EnableTouch();
                  break;*/
         
-     case 11: 
+     case 9: 
                 DisableTouch();
                 screen_bp2();      // bp main screen
                 bp();              // measuring bp