Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217
Fork of merged_code2_3rd_nov_2017_15th_dec_2017_magicno_removal by
Revision 28:65f2d80b7eb7, committed 2017-07-08
- Comitter:
- nikitateggi
- Date:
- Sat Jul 08 04:51:31 2017 +0000
- Parent:
- 27:907f8ce0025e
- Child:
- 29:7edc76b15e3d
- Commit message:
- bluetooth file track
Changed in this revision
| bt.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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;
