Library for the Grove Earbud Heartrate Sensor

Dependents:   BLE_Police_HRM_Earbud df-2014-salesforce-hrm-k64f BLE_HeartRate_ppm emoSound ... more

Revision:
7:d1fc51718ca7
Parent:
6:40b1e50a1d15
--- a/GroveEarbudSensor.cpp	Fri Sep 26 02:47:43 2014 +0000
+++ b/GroveEarbudSensor.cpp	Fri Sep 26 03:42:30 2014 +0000
@@ -83,7 +83,7 @@
       this->m_heartrate = tmp/(this->m_temp[NUM_SLOTS-1]-this->m_temp[0]);
       
       // DEBUG/Log
-      if (this->m_heartrate > 0) { LOG_CONSOLE("heartrate: %d bpm\r\n",this->m_heartrate); }
+      //LOG_CONSOLE("heartrate: %d bpm\r\n",this->m_heartrate);
       
       // invoke any callbacks we might have
       if (this->m_cb_fn != NULL) {