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:
51:1a4693774b60
Parent:
49:3ff80c4bc1be
Child:
53:cc6e65480a67
--- a/display_modules.cpp	Sat Sep 16 06:54:42 2017 +0000
+++ b/display_modules.cpp	Wed Sep 20 07:48:55 2017 +0000
@@ -108,7 +108,7 @@
                 
                 
                 
-    void screen_main_1() // System Configuration main screen
+    void screen_main_1()                                                             // System Configuration main screen
  {
     backlight = 0 ;
     TFT.BusEnable(true) ;
@@ -118,18 +118,18 @@
     TFT.set_font((unsigned char*) Arial24x23);
     TFT.foreground(Black);
     TFT.fillrect( 10,130,100,200,GreenYellow);
-    TFT.locate(38,160) ;                                //changed from 30 to 38 //rashmi 24/7/17            //changed from 40 to 30 //rashmi 22/7/17     
-    TFT.printf("BT") ;                                  ////changed from BLE to BT //rashmi 24/7/17
-    if (read_debug_status()== 1)
+    TFT.locate(38,160) ;                                                              //changed from 30 to 38 //rashmi 24/7/17            //changed from 40 to 30 //rashmi 22/7/17     
+    TFT.printf("BT") ;                                                              ////changed from BLE to BT //rashmi 24/7/17
+    if ((read_debug_status()== 1) && get_timer_debug()<TIMER_ENABLE_DEBUG_MODE)     // checking for the debug status and timer 
     {
         TFT.fillrect( 130,130,220,200,GreenYellow);
-        TFT.locate(150,140) ;                               //changed from 135 to 145 //rashmi 22/7/17 //
+        TFT.locate(150,140) ;                                                        //changed from 135 to 145 //rashmi 22/7/17 //
         TFT.printf("DE-") ; 
-        TFT.locate(145,170) ;                               //changed from 135 to 145 //rashmi 22/7/17 //
-        TFT.printf("BUG");                                 //changed from ERASE to DEL //rashmi 22/7/17
+        TFT.locate(145,170) ;                                                       //changed from 135 to 145 //rashmi 22/7/17 //
+        TFT.printf("BUG");                                                          //changed from ERASE to DEL //rashmi 22/7/17
     }    
     TFT.fillrect( 10,215,100,285,GreenYellow);
-    TFT.locate(22,245) ;                                //changed from 26 to 22 //rashmi 24/7/17            //changed from 30 to 26 //rashmi 22/7/17
+    TFT.locate(22,245) ;                                                            //changed from 26 to 22 //rashmi 24/7/17            //changed from 30 to 26 //rashmi 22/7/17
     TFT.printf("P-Inf") ;    
     TFT.fillrect(130,215,220,285,GreenYellow);
     TFT.locate(130,245) ;        
@@ -860,7 +860,7 @@
     TFT.background(White) ;  
     TFT.foreground(Red);
     TFT.locate(15,140) ;
-    TFT.printf("SD read finished"); 
+    TFT.printf("SD file read"); 
     TFT.fillrect( 60,230,180,300,Green);
     TFT.background(Green) ;
     TFT.foreground(Black) ;