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:
56:89eb9a977641
Parent:
54:f2a413d5dffd
diff -r 057f4af9d581 -r 89eb9a977641 bt.cpp
--- a/bt.cpp	Wed Oct 04 06:38:21 2017 +0000
+++ b/bt.cpp	Fri Nov 03 07:16:44 2017 +0000
@@ -56,7 +56,7 @@
                   file_pointer_position=0;
                   bt_pid = get_btpid()+1;                           //added on 22/09/2017 nikita
                  mc.printf("bt_pid = %d\n",get_btpid());
-                if(get_filepid()>bt_pid)                           //check for pid and bluetooth pid by reading from file
+                if(get_filepid()>=bt_pid)                           //check for pid and bluetooth pid by reading from file// modified to send till the current pid, 3rd nov// 
                 {
                     send_initial_string(); 
                     blue.printf("\n");