Test program for a Max30102 heartrate sensor on a STM32L476RG specific board ENSMM

Dependencies:   mbed

These two pictures show how to connect the Mheuve Sensor to the ST-Link debugger (don't forget to disable ST-link jumpers and JP5 on the board! ):

https://os.mbed.com/media/uploads/jimbaud/1611739514454.jpghttps://os.mbed.com/media/uploads/jimbaud/1611739514453.jpg

These two pictures show how to connect the Mheuve Sensor TX RX to the ST-Link debugger (don't forget to cross TX and RX, it means Mheuve sensor TX on ST-Link RX and ST-Link TX on Mheuve sensor RX ):

https://os.mbed.com/media/uploads/jimbaud/1611739514450.jpg https://os.mbed.com/media/uploads/jimbaud/1611739514452.jpg

The Mheuve sensor board needs to be powered by an external battery.

The result appears on the terminal, speed config is 115200 bds.

https://os.mbed.com/media/uploads/jimbaud/terminal.jpg

Revision:
1:e88f22c6c1b0
Parent:
0:346a7fa07998
Child:
2:560e76e77544
diff -r 346a7fa07998 -r e88f22c6c1b0 algorithm/algorithm.cpp
--- a/algorithm/algorithm.cpp	Wed Apr 20 21:46:06 2016 +0000
+++ b/algorithm/algorithm.cpp	Wed Apr 20 23:05:38 2016 +0000
@@ -1,7 +1,7 @@
-/** \file algorithm.h ******************************************************
+/** \file algorithm.cpp ******************************************************
 *
 * Project: MAXREFDES117#
-* Filename: algorithm.c
+* Filename: algorithm.cpp
 * Description: This module calculates the heart rate/SpO2 level
 *
 * Revision History: