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.h
- Revision:
- 42:c81673b04b6a
- Parent:
- 41:1141a75eacc4
- Child:
- 43:85a7f399cb9d
--- a/main.h Fri Sep 08 10:35:21 2017 +0000 +++ b/main.h Mon Sep 11 10:02:46 2017 +0000 @@ -1,19 +1,16 @@ #ifndef MAIN_H_ #define MAIN_H_ -uint8_t touch(uint8_t); -uint8_t display(uint8_t); + bool get_filecreated_status(void); //get status of file created void set_filecreated_status(void); //set file created void clear_filecreated_status(void); //clear file created +void increment_pid (void); -static uint32_t current_test_pid = 0; -static uint32_t bt_file_sent_pid = 0; -static uint8_t nstate = 0; -static uint8_t nstate1 = 0; -static uint32_t pid_btpid[2] = {}; //buffer to store pid and btpid - - +uint32_t get_btpid(void); +void store_btpid(uint32_t bt_pid); +uint32_t get_filepid(void); +void store_filepid(uint32_t pid); #endif