Chanel's edits
Dependencies: max32630fthr USBDevice
Diff: bt32630.h
- Revision:
- 2:a96a53e6c6a3
- Parent:
- 1:6e6f7e3cc1e1
- Child:
- 4:4233f5538abf
--- a/bt32630.h Wed Feb 12 07:35:43 2020 +0000 +++ b/bt32630.h Wed Feb 12 13:27:15 2020 +0000 @@ -23,14 +23,14 @@ if (hrmCounter == 175) { hrmCounter = 100; }*/ - pc.printf("Inside update sensor value \n"); + //pc.printf("Inside update sensor value \n"); if(max86150Sensor.check()>0) { - hrServicePtr->updateHeartRate(max86150Sensor.readPartID()); + hrServicePtr->updateHeartRate((uint16_t)max86150Sensor.getFIFORed()); return; } - hrmCounter = 133; - hrServicePtr->updateHeartRate(hrmCounter); + //hrmCounter = 133; + //hrServicePtr->updateHeartRate(hrmCounter); } void periodicCallback(void)