Changes done in ECG and BT

Dependencies:   SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217

Fork of merged_code2_20sept_2017_4th_oct_2017 by nikita teggi

Revision:
6:5e33a0f01476
Parent:
5:a3ea7c82b7e1
Child:
7:11f926351d8f
--- a/main.cpp	Thu Mar 30 11:34:04 2017 +0000
+++ b/main.cpp	Sat Apr 01 06:37:02 2017 +0000
@@ -215,9 +215,11 @@
      
      case 6:   DisableTouch();
                screen_bp();          // bp main screen
-               EnableTouch();
+               //EnableTouch();
                 state1=0;
                 state=8;
+                nstate=state;         ///////
+                EnableTouch();        ///////
                 break;
      
      
@@ -232,6 +234,7 @@
                 screen_glc_2();
                  state=6;;
               //  gc.printf("%d", state);
+              nstate=state;         //////////////
                EnableTouch();
                 break;
     
@@ -260,6 +263,7 @@
      case 9: 
                 DisableTouch();
                 screen_bp2();      // bp main screen
+                bp_countdown();    // countdown for bp 
                 bp();              // measuring bp   
                 state1=0;
                // wait(1);