PAH8011 HeartRate on STM NUCLEO-L476RG

Dependencies:   mbed pixart_heart_rate_demo pixart_heart_rate_lib_keil_m4

Fork of PixArt_PAH8011_HeartRate_NUCLEO-L476RG by PixArt

Files at this revision

API Documentation at this revision

Comitter:
pixus_mbed
Date:
Mon Oct 30 06:33:11 2017 +0000
Commit message:
Init version

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
pixart_heart_rate_demo.lib Show annotated file Show diff for this revision Revisions of this file
pixart_heart_rate_lib_keil_m4.lib Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Oct 30 06:33:11 2017 +0000
@@ -0,0 +1,19 @@
+
+#include "pixart_heart_rate_demo.h"
+
+#include <mbed.h>
+
+
+static Serial       pc(USBTX, USBRX);
+static I2C          i2c(I2C_SDA, I2C_SCL);
+static InterruptIn  interrupt(PA_10);
+
+
+int main(void)
+{
+    pc.baud(115200);
+    
+    // demo
+    pixart::heart_rate_demo demo(i2c, interrupt, pc);
+    demo.run();
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Mon Oct 30 06:33:11 2017 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/fb8e0ae1cceb
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pixart_heart_rate_demo.lib	Mon Oct 30 06:33:11 2017 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/bell_huang/code/pixart_heart_rate_demo/#e03a9fcf825c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pixart_heart_rate_lib_keil_m4.lib	Mon Oct 30 06:33:11 2017 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/bell_huang/code/pixart_heart_rate_lib_keil_m4/#84b0090bdfee