grove_heartrate

Revision:
0:746f515e2564
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/grove_heartrate.h	Tue Jun 09 10:19:07 2015 +0000
@@ -0,0 +1,15 @@
+
+
+
+#ifndef __GROVE_HEARTRATE_H__
+#define __GROVE_HEARTRATE_H__
+
+#include "suli2.h"
+
+#define HEARTRATE_ADDRESS (0xA0)
+
+void grove_heartrate_init(I2C_T *i2c, int pinsda, int pinscl);
+bool grove_heartrate_write_setup(I2C_T *i2c);
+bool grove_heartrate_getheartrate(I2C_T *i2c, uint8_t *heartrate);
+
+#endif