Library for the Grove Earbud Heartrate Sensor

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

Revision:
5:56720730382d
Parent:
4:618117fe4b04
Child:
6:40b1e50a1d15
Child:
8:06be613d8c3e
--- a/GroveEarbudSensor.h	Fri Sep 26 02:32:53 2014 +0000
+++ b/GroveEarbudSensor.h	Fri Sep 26 02:38:54 2014 +0000
@@ -52,7 +52,8 @@
  #include "mbed.h"
 
 // Console
-Serial pc(USBTX,USBRX);
+#include "BufferedSerial.h"
+BufferedSerial pc(USBTX,USBRX);
 
 // Blinky
 DigitalOut led(LED1);
@@ -114,7 +115,7 @@
         /**
         Default constructor
         @param rx input InterruptIn instance
-        @param pc input Serial instance for debugging (if NULL, no debugging output will occur in the library)
+        @param pc input RawSerial instance for debugging (if NULL, no debugging output will occur in the library)
         */
         GroveEarbudSensor(InterruptIn *rx,RawSerial *pc = NULL);