Changes done in ECG and BT

Dependencies:   SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217

Fork of merged_code2_20sept_2017_4th_oct_2017 by nikita teggi

bp.h

Committer:
nikitateggi
Date:
2017-11-03
Revision:
56:89eb9a977641
Parent:
43:85a7f399cb9d

File content as of revision 56:89eb9a977641:

//Whole Code replaced by Nidhin 1/6/2017

#ifndef BP_H_
#define BP_H_

#define DID 101
#define BP_S_FREQ 500

#define BUFFER 64
#define ECG_LOOP 16
#define PPG_LOOP 26

#define ECG_SPLS BUFFER*ECG_LOOP
#define PPG_SPLS BUFFER*PPG_LOOP
#define BPLEN_BYT 10778 // TOTAL length in BYTEs for BP inclu Should change if BUffer is changed

void bp(uint32_t pid);
uint16_t sd_BP_ECGMAX(int32_t pid); // updated- Suhasini-21/7/17
uint16_t sd_BP_PPGMAX(int32_t pid); // updated- Suhasini-21/7/17

#endif