mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-26 01:19:02 +00:00
scd4x: add support for SCD41 single-shot measurements
I have a SCD41, and would like to use it for single shot measurements instead of "low power periodic" measurements to achieve much lower average current consumption.
This commit is contained in:
committed by
Ron Evans
parent
fab688a701
commit
9ed648f4a5
@@ -22,4 +22,5 @@ const (
|
||||
CmdStartLowPowerPeriodicMeasurement = 0x21AC
|
||||
CmdStartPeriodicMeasurement = 0x21B1
|
||||
CmdStopPeriodicMeasurement = 0x3F86
|
||||
CmdMeasureSingleShot = 0x219D
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user