Library for the Grove Earbud Heartrate Sensor
Dependents: BLE_Police_HRM_Earbud df-2014-salesforce-hrm-k64f BLE_HeartRate_ppm emoSound ... more
Diff: GroveEarbudSensor.h
- Revision:
- 4:618117fe4b04
- Parent:
- 3:6d5410cdd47d
- Child:
- 5:56720730382d
--- a/GroveEarbudSensor.h Thu Sep 25 22:14:30 2014 +0000 +++ b/GroveEarbudSensor.h Fri Sep 26 02:32:53 2014 +0000 @@ -99,7 +99,7 @@ class GroveEarbudSensor { private: - Serial *m_pc; + RawSerial *m_pc; InterruptIn *m_rx; volatile unsigned long m_temp[NUM_SLOTS]; volatile unsigned long m_sub; @@ -116,7 +116,7 @@ @param rx input InterruptIn instance @param pc input Serial instance for debugging (if NULL, no debugging output will occur in the library) */ - GroveEarbudSensor(InterruptIn *rx,Serial *pc = NULL); + GroveEarbudSensor(InterruptIn *rx,RawSerial *pc = NULL); /** Default destructor