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:
14:f5c62d30c6fc
Parent:
13:5d3b478ea9c7
Child:
19:1650bbc923cc
--- a/main.cpp	Sat May 27 05:47:55 2017 +0000
+++ b/main.cpp	Thu Jun 01 09:24:45 2017 +0000
@@ -156,12 +156,17 @@
                 pid=pid+1;
                eprom_write(1,pid);         // writing the patient id to eeprom
                 screen_main_2(pid);
-                sd_open_GLCfilee(pid);     // only opening the glc,bp and ecg file
+                
+                sd_open_mainfile(pid);    //ADDED on 1/6/2017 - NIDHIN
+                sd_close();
+                
+                
+                /*sd_open_GLCfilee(pid);     // only opening the glc,bp and ecg file // COMMENTED Nidhin 1/6/17
                  sd_close();
                  sd_open_ECGfilee(pid);
                  sd_close();
                  sd_open_BPfilee(pid);
-                 sd_close();
+                 sd_close();*/
                  flag=1;
                  }
                else