
Changes done in ECG and BT
Dependencies: SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217
Fork of merged_code2_20sept_2017_4th_oct_2017 by
main.h@41:1141a75eacc4, 2017-09-08 (annotated)
- Committer:
- rashmivenkataramaiah
- Date:
- Fri Sep 08 10:35:21 2017 +0000
- Revision:
- 41:1141a75eacc4
- Child:
- 42:c81673b04b6a
Modified PID tracking; 1 First open the Pid in write mode and then in append mode; 2 PID to increment only after a test is completed; 3 PID stored in SD card;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
rashmivenkataramaiah | 41:1141a75eacc4 | 1 | #ifndef MAIN_H_ |
rashmivenkataramaiah | 41:1141a75eacc4 | 2 | #define MAIN_H_ |
rashmivenkataramaiah | 41:1141a75eacc4 | 3 | |
rashmivenkataramaiah | 41:1141a75eacc4 | 4 | uint8_t touch(uint8_t); |
rashmivenkataramaiah | 41:1141a75eacc4 | 5 | uint8_t display(uint8_t); |
rashmivenkataramaiah | 41:1141a75eacc4 | 6 | |
rashmivenkataramaiah | 41:1141a75eacc4 | 7 | bool get_filecreated_status(void); //get status of file created |
rashmivenkataramaiah | 41:1141a75eacc4 | 8 | void set_filecreated_status(void); //set file created |
rashmivenkataramaiah | 41:1141a75eacc4 | 9 | void clear_filecreated_status(void); //clear file created |
rashmivenkataramaiah | 41:1141a75eacc4 | 10 | |
rashmivenkataramaiah | 41:1141a75eacc4 | 11 | static uint32_t current_test_pid = 0; |
rashmivenkataramaiah | 41:1141a75eacc4 | 12 | static uint32_t bt_file_sent_pid = 0; |
rashmivenkataramaiah | 41:1141a75eacc4 | 13 | static uint8_t nstate = 0; |
rashmivenkataramaiah | 41:1141a75eacc4 | 14 | static uint8_t nstate1 = 0; |
rashmivenkataramaiah | 41:1141a75eacc4 | 15 | static uint32_t pid_btpid[2] = {}; //buffer to store pid and btpid |
rashmivenkataramaiah | 41:1141a75eacc4 | 16 | |
rashmivenkataramaiah | 41:1141a75eacc4 | 17 | |
rashmivenkataramaiah | 41:1141a75eacc4 | 18 | #endif |
rashmivenkataramaiah | 41:1141a75eacc4 | 19 |