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: sdcard.h
- Revision:
- 8:adf2ba7e6412
- Parent:
- 4:6bd81bb1790d
- Child:
- 10:aeff3309002a
--- a/sdcard.h Wed Apr 26 10:14:53 2017 +0000 +++ b/sdcard.h Fri Apr 28 10:05:29 2017 +0000 @@ -1,3 +1,4 @@ +/* #ifndef SDCARD_H_ #define SDCARD_H_ @@ -10,4 +11,36 @@ void sd_write (int value); void sd_close(); -#endif \ No newline at end of file +#endif +*/ + +//-----------------------------------------------new ADD NIDHIN 28/4/2017----------------- +#ifndef SDCARD_H_ +#define SDCARD_H_ + +void sd_open_ECGfile(int pid); +void sd_open_ECGfilee(int pid); +void sd_open_GLCfile(int pid); +void sd_open_GLCfilee(int pid); +void sd_open_BPfilee(int pid); +void sd_open_BPfile(int pid); +void sd_write (int value); + +//void sd_BP_ppgwrite (uint32_t value); +//void sd_BP_ecgwrite (int value); + +FILE *sd_BP_ecgwrite (int *fpdrum11); +FILE *sd_BP_ppgwrite (uint32_t *fpdrum21); + +void sd_open_BP_ECGfile(int pid); //added to write ECG to seperate file BP +void sd_open_BP_PPGfile(int pid); //added to write PPG to seperate file BP + +void sd_close(); + +int sd_BP_ECGMAX(int pid); +int sd_BP_PPGMAX(int pid); +//void sd_close1(); + +#endif + +//----------------------------------------------------28/4/2017------------------------ \ No newline at end of file