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: bp.cpp
- Revision:
- 21:7ef1b0b40841
- Parent:
- 20:7c64e6ecad76
- Child:
- 22:ffa88619551d
--- a/bp.cpp Sat Jun 17 09:36:18 2017 +0000 +++ b/bp.cpp Wed Jun 21 08:39:10 2017 +0000 @@ -166,7 +166,7 @@ maxim_max30102_read_reg(0,&uch_dummy); while(INTR.read()==1); maxim_max30102_read_fifo(&ppgdata); - +bpr.printf("%d\n",ppgdata); if(un_min>ppgdata) un_min=ppgdata; //update signal min if(un_max<ppgdata) @@ -174,6 +174,8 @@ } +bpr.printf("The max is %d\n", un_max); // +bpr.printf("The min is %d\n", un_min); if (((un_max -un_min) > 300) && (lead_reg==0)) // Checking for threshold 300 Added Nidhin 16/6/17 { //Added Nidhin 16/6/17