Library for MAX30101 SpO2 and heart rate sensor
Dependents: HeartRate HeartRate proj final_project_ee119 ... more
Revision 9:28164e9ac58e, committed 2017-09-02
- Comitter:
- j3
- Date:
- Sat Sep 02 11:51:48 2017 -0700
- Parent:
- 8:cc2dae00ce63
- Child:
- 10:85513b7480f5
- Commit message:
- Fixed SpO2 config enum typos
Changed in this revision
| MAX30101.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/MAX30101.h Sat Sep 02 11:00:44 2017 -0700
+++ b/MAX30101.h Sat Sep 02 11:51:48 2017 -0700
@@ -145,9 +145,9 @@
enum LEDPulseWidth
{
PW_0 = 0,
- PW_1 = 0,
- PW_2 = 0,
- PW_3 = 0
+ PW_1 = 1,
+ PW_2 = 2,
+ PW_3 = 3
};
@@ -156,12 +156,12 @@
{
SR_50_Hz = 0,
SR_100_Hz = 1,
- SR_200_Hz = 3,
- SR_400_Hz = 4,
- SR_800_Hz = 5,
- SR_1000_Hz = 6,
- SR_1600_Hz = 7,
- SR_3200_Hz = 8
+ SR_200_Hz = 2,
+ SR_400_Hz = 3,
+ SR_800_Hz = 4,
+ SR_1000_Hz = 5,
+ SR_1600_Hz = 6,
+ SR_3200_Hz = 7
};
///Interrupt Status/Enable BitField