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
Diff: main.cpp
- Revision:
- 8:5087b009105f
- Parent:
- 7:173935a3e036
--- 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;