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: bt.cpp
- Revision:
- 28:65f2d80b7eb7
- Parent:
- 27:907f8ce0025e
- Child:
- 31:0f67acfc6236
diff -r 907f8ce0025e -r 65f2d80b7eb7 bt.cpp --- a/bt.cpp Sat Jul 08 04:19:45 2017 +0000 +++ b/bt.cpp Sat Jul 08 04:51:31 2017 +0000 @@ -19,19 +19,19 @@ Serial mc(USBTX,USBRX); // serial terminal Serial blue(PTC4,PTC3); // communicating bluetooth through serial -uint32_t total_samples=0; // variable to hold total number of samples +static uint32_t total_samples=0; // variable to hold total number of samples uint8_t ack_rx; // varibale to receive ack from the bluetooth Point b; // structure copy BLEMsg_info bt_file1; // structure copy -uint32_t total_file_size=0; // to determine the size of the file -uint32_t total_file_read=0; -uint32_t file_start=0; // variable for 'for loop' -uint32_t j=0; +static uint32_t total_file_size=0; // to determine the size of the file +static uint32_t total_file_read=0; +static uint32_t file_start=0; // variable for 'for loop' +static uint32_t j=0; uint8_t count_send=0; -uint32_t file_pointer_position=0; -int32_t bt_file_tosend=0; // file to send on bluetooth -int32_t current_file=0; // file of the test done for the current pid -uint32_t counter=0; +static uint32_t file_pointer_position=0; +static int32_t bt_file_tosend=0; // file to send on bluetooth +static int32_t current_file=0; // file of the test done for the current pid +static uint32_t counter=0; uint8_t file=0;