File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 43
43
_SCD4X_DATAREADY = const (0xE4B8 )
44
44
_SCD4X_STOPPERIODICMEASUREMENT = const (0x3F86 )
45
45
_SCD4X_STARTPERIODICMEASUREMENT = const (0x21B1 )
46
+ _SCD4X_STARTLOWPOWERPERIODICMEASUREMENT = const (0x21AC )
46
47
_SCD4X_READMEASUREMENT = const (0xEC05 )
47
48
_SCD4X_SERIALNUMBER = const (0x3682 )
48
49
_SCD4X_GETTEMPOFFSET = const (0x2318 )
@@ -229,7 +230,11 @@ def stop_periodic_measurement(self):
229
230
230
231
def start_periodic_measurement (self ):
231
232
"""Put sensor into working mode, about 5s per measurement"""
232
- self ._send_command (_SCD4X_STARTPERIODICMEASUREMENT , cmd_delay = 0.01 )
233
+ self ._send_command (_SCD4X_STARTPERIODICMEASUREMENT )
234
+
235
+ def start_low_periodic_measurement (self ):
236
+ """Put sensor into low power working mode, about 30s per measurement"""
237
+ self ._send_command (_SCD4X_STARTLOWPOWERPERIODICMEASUREMENT )
233
238
234
239
def persist_settings (self ):
235
240
"""Save temperature offset, altitude offset, and selfcal enable settings to EEPROM"""
You can’t perform that action at this time.
0 commit comments