Changes done in ECG and BT
Dependencies: SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217
Fork of merged_code2_20sept_2017_4th_oct_2017 by
bp.h@36:00d96aa14658, 2017-07-29 (annotated)
- Committer:
- avp2417
- Date:
- Sat Jul 29 11:23:19 2017 +0000
- Revision:
- 36:00d96aa14658
- Parent:
- 22:ffa88619551d
- Child:
- 43:85a7f399cb9d
Added Suhasini's changes related to BP code and increase Bluetooth buffer from 150 samples to 600 Samples into 27th July 2017 code
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
nidhinvarghese | 14:f5c62d30c6fc | 1 | //Whole Code replaced by Nidhin 1/6/2017 |
nidhinvarghese | 8:adf2ba7e6412 | 2 | |
nidhinvarghese | 8:adf2ba7e6412 | 3 | #ifndef BP_H_ |
nidhinvarghese | 8:adf2ba7e6412 | 4 | #define BP_H_ |
nikitateggi | 3:9a06c2bed650 | 5 | |
nidhinvarghese | 14:f5c62d30c6fc | 6 | #define DID 101 |
nidhinvarghese | 14:f5c62d30c6fc | 7 | #define BP_S_FREQ 500 |
nidhinvarghese | 14:f5c62d30c6fc | 8 | |
nidhinvarghese | 14:f5c62d30c6fc | 9 | #define BUFFER 64 |
nidhinvarghese | 14:f5c62d30c6fc | 10 | #define ECG_LOOP 16 |
nidhinvarghese | 14:f5c62d30c6fc | 11 | #define PPG_LOOP 26 |
nidhinvarghese | 14:f5c62d30c6fc | 12 | |
nidhinvarghese | 14:f5c62d30c6fc | 13 | #define ECG_SPLS BUFFER*ECG_LOOP |
nidhinvarghese | 14:f5c62d30c6fc | 14 | #define PPG_SPLS BUFFER*PPG_LOOP |
nidhinvarghese | 14:f5c62d30c6fc | 15 | #define BPLEN_BYT 10778 // TOTAL length in BYTEs for BP inclu Should change if BUffer is changed |
nikitateggi | 3:9a06c2bed650 | 16 | |
nikitateggi | 22:ffa88619551d | 17 | void bp(int32_t pid); |
avp2417 | 36:00d96aa14658 | 18 | uint16_t sd_BP_ECGMAX(int32_t pid); // updated- Suhasini-21/7/17 |
avp2417 | 36:00d96aa14658 | 19 | uint16_t sd_BP_PPGMAX(int32_t pid); // updated- Suhasini-21/7/17 |
nidhinvarghese | 8:adf2ba7e6412 | 20 | |
nidhinvarghese | 14:f5c62d30c6fc | 21 | #endif |