Skip to content

Commit 42692be

Browse files
committed
Add getAutoSelfCalibration() to example 4.
1 parent 8a29ab2 commit 42692be

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

examples/Example4_DisableCalibrate/Example4_DisableCalibrate.ino

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ void setup()
3636
;
3737
}
3838

39+
Serial.print("Auto calibration set to ");
40+
if (airSensor.getAutoSelfCalibration() == true)
41+
Serial.println("true");
42+
else
43+
Serial.println("false");
44+
3945
//The SCD30 has data ready every two seconds
4046
}
4147

@@ -58,4 +64,4 @@ void loop()
5864
Serial.println("Waiting for new data");
5965

6066
delay(500);
61-
}
67+
}

0 commit comments

Comments
 (0)