export test
Dependencies: SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217
Fork of Int_Demo_09May2017_Suhasini_HRavg_Nikita_ili9341 by
Diff: sdcard.cpp
- Revision:
- 11:9a6545c2eb5d
- Parent:
- 10:aeff3309002a
- Child:
- 14:f5c62d30c6fc
diff -r aeff3309002a -r 9a6545c2eb5d sdcard.cpp --- a/sdcard.cpp Wed May 03 05:32:37 2017 +0000 +++ b/sdcard.cpp Wed May 03 08:49:30 2017 +0000 @@ -314,7 +314,7 @@ fread(a,sizeof(int), 1,fpecg); - snd.printf("\n%d", a[0]); + // snd.printf("\n%d", a[0]); Commented May3_2017 (Nidhin) if(a[0] > ecgmax) { ecgmax=a[0]; @@ -351,7 +351,7 @@ for(pbp=0; pbp<1664; pbp++) { fread(b, sizeof(uint32_t),1, fpppg); - snd.printf("\n%d", b[0]); + // snd.printf("\n%d", b[0]); Commented May3_2017 (Nidhin) if((pbp>ecgloc) && (pbp< (ecgloc+350))) { @@ -419,19 +419,22 @@ int status = 0 ; sprintf(buffer3, "/sd/%d_BP_ECG.csv", pid); status = remove(buffer3); - + + if( status == 0 ) snd.printf("\nECG file delete : Successful"); else snd.printf("\nECG file delete : UnSuccessful"); - + + //char buffer1[32] = ""; status = 0 ; sprintf(buffer3, "/sd/%d_BP_PPG.csv", pid); status = remove(buffer3); - + if( status == 0 ) snd.printf("\nPPG file delete : Successful"); else snd.printf("\nPPG file delete : UnSuccessful"); + } \ No newline at end of file