Skip to content

Update example 8 Read SPO2 #62

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion examples/Example8_SPO2/Example8_SPO2.ino
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,11 @@ int32_t spo2; //SPO2 value
int8_t validSPO2; //indicator to show if the SPO2 calculation is valid
int32_t heartRate; //heart rate value
int8_t validHeartRate; //indicator to show if the heart rate calculation is valid

#ifndef CONFIG_IDF_TARGET_ESP32
byte pulseLED = 11; //Must be on PWM pin
#else
byte pulseLED = 2; // Connected to the Onboard LED- Pin11 is strapping pin on ESP32
#endif
byte readLED = 13; //Blinks with each data read

void setup()
Expand Down