Demo PAH8011 & HeartRate on STM NUCLEO-L476RG
Dependencies: mbed pixart_heart_rate_demo pixart_heart_rate_lib_keil_m4
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
diff -r 000000000000 -r dafeae8d92bf main.cpp --- /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(); +}
diff -r 000000000000 -r dafeae8d92bf mbed.bld --- /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
diff -r 000000000000 -r dafeae8d92bf pixart_heart_rate_demo.lib --- /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
diff -r 000000000000 -r dafeae8d92bf pixart_heart_rate_lib_keil_m4.lib --- /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