Chanel's edits

Dependencies:   max32630fthr USBDevice

Revision:
15:b15b4b6c6da8
Parent:
14:ee2175578993
Child:
16:f6bfa6b66e96
--- a/bt32630.h	Tue Mar 10 08:22:53 2020 +0000
+++ b/bt32630.h	Tue Mar 10 20:33:49 2020 +0000
@@ -18,7 +18,7 @@
 extern Serial pc;
 extern I2C i2c;
 extern BLE &ble;
-const static char     DEVICE_NAME[] = "Nordic_HRM";
+const static char     DEVICE_NAME[] = "MAX32630";
 static const uint16_t uuid16_list[] = {GattService::UUID_HEART_RATE_SERVICE};
 
 //
@@ -135,7 +135,7 @@
         movmean = movmean/(float)(k+1);
         integral[curr] = movmean;
         
-         //pc.printf("%f %f %f\n",movmean/1000, y/50,(float)ppgRed16/1000);
+         pc.printf("%f %f\n",movmean/1000, y/50);
          //pc.printf("%d\n",ppgRed16);
             
         hrServicePtr->updateHeartRate(ecgsigned16); //send ECG sample