In the file examples/Example2_SetOptions/Example2_SetOptions.ino, there are both, airSensor.setAltitudeCompensation() and airSensor.setAmbientPressure() performed. The document Interface Description Sensirion SCD30 Sensor Module from Sensirion, however, states that Setting altitude is disregarded when an ambient pressure is given to the sensor (Section 1.4.8)
One could maybe add this information as a comment to the file Example2_SetOptions.ino
In the file
examples/Example2_SetOptions/Example2_SetOptions.ino
, there are both,airSensor.setAltitudeCompensation()
andairSensor.setAmbientPressure()
performed. The document Interface Description Sensirion SCD30 Sensor Module from Sensirion, however, states that Setting altitude is disregarded when an ambient pressure is given to the sensor (Section 1.4.8)One could maybe add this information as a comment to the file
Example2_SetOptions.ino