Added 4 point or 8 point averaging function .
Dependencies: SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217
Fork of merged_code2_3rd_nov_2017 by
Diff: bp.cpp
- Revision:
- 41:1141a75eacc4
- Parent:
- 40:f7f351699288
- Child:
- 42:c81673b04b6a
diff -r f7f351699288 -r 1141a75eacc4 bp.cpp --- a/bp.cpp Sun Aug 20 16:21:54 2017 +0000 +++ b/bp.cpp Fri Sep 08 10:35:21 2017 +0000 @@ -16,6 +16,7 @@ #include "bp.h" #include "display_modules.h" + #define MAX_SBP_THRESHOLD 300 #define MAX_DBP_THRESHOLD 300 #define MIN_SBP_THRESHOLD 40 @@ -224,6 +225,7 @@ create_single_BPfile(pid); // Copy ECG and PPG data to BP file structure_file(ptr_BLEMsg_info_bp, pid); // Copy BP structure to main file bpfile_mainfile(pid); + increment_pid (); //increment pid if test is pass screen_bp1(SBP,DBP); } } //Added Nidhin 16/6/17