Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217
Fork of SS_SensePOC2P0_11Dec2017_USERPID 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
