Changes done in ECG and BT
Dependencies: SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217
Fork of merged_code2_20sept_2017_4th_oct_2017 by
Diff: main.cpp
- Revision:
- 48:f90edb35a20e
- Parent:
- 47:3716dd41dba6
- Child:
- 49:3ff80c4bc1be
--- a/main.cpp Wed Sep 13 11:24:19 2017 +0000 +++ b/main.cpp Fri Sep 15 07:38:47 2017 +0000 @@ -104,7 +104,7 @@ state_r=bt_send(state_t); timer_bt.start(); //gc.printf(" state_t = %d\n", state_t); - gc.printf(" state_r = %d\n", state_r); + // gc.printf(" state_r = %d\n", state_r); if (state_r==0) // if the state received is zero, then there is no new file to send { timer_bt.stop(); // stop the timer once connected to app @@ -153,7 +153,7 @@ { state_t=bt_receive(state_r); - gc.printf(" state_t = %d\n", state_t); + // gc.printf(" state_t = %d\n", state_t); // gc.printf(" state_r = %d\n", state_r); timer_bt.stop(); timer_bt.reset(); @@ -184,7 +184,7 @@ main_state=1; state_touch=12; state_t = 1; // state to transmit to bluetooth - state_r = 0; // state to receive from bluetooth + state_r = 0; // state to receive from bluetooth sd_close(); ///close the opened file which was used for bluetooth timer_bt.stop(); timer_bt.reset();