This is one of the demo programs for the MAX30003WING. This program records ECG data and prints the status register, calculated BPM, samples recorded and ETAG register value.

Dependencies:   MAX30003 max32630fthr

Fork of MAX30003_Demo_Debug by John Greene

Files at this revision

API Documentation at this revision

Comitter:
johnGreeneMaxim
Date:
Tue Mar 13 21:17:02 2018 +0000
Parent:
7:173935a3e036
Commit message:
Corrected BPM resolution variable

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 173935a3e036 -r 5087b009105f main.cpp
--- a/main.cpp	Thu Dec 14 21:46:48 2017 +0000
+++ b/main.cpp	Tue Mar 13 21:17:02 2018 +0000
@@ -55,7 +55,7 @@
     const int EINT_STATUS =  1 << 23;
     const int RTOR_STATUS =  1 << 10;
     const int RTOR_REG_OFFSET = 10;
-    const float RTOR_LSB_RES = 0.008f;
+    const float RTOR_LSB_RES = 0.0078125f;
     const int FIFO_OVF =  0x7;
     const int FIFO_VALID_SAMPLE =  0x0;
     const int FIFO_FAST_SAMPLE =  0x1;