created separate function for hex to char

Dependencies:   SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217

Fork of SS_SensePOC2P0_11Dec2017_USERPID by rashmi v

sdcard.h

Committer:
nidhinvarghese
Date:
2017-05-03
Revision:
10:aeff3309002a
Parent:
8:adf2ba7e6412
Child:
14:f5c62d30c6fc

File content as of revision 10:aeff3309002a:

/*
#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_close();

#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();

void create_single_BPfile(int pid); //Function to create 1 file from 2 temp BP file (ECG &PPG)

#endif 

//----------------------------------------------------28/4/2017------------------------