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
Revision 0:dafeae8d92bf, committed 2017-10-30
- Comitter:
- pixus_mbed
- Date:
- Mon Oct 30 06:33:11 2017 +0000
- Commit message:
- Init version
Changed in this revision
--- /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