Skip to content
Merged
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
3 changes: 2 additions & 1 deletion docs/SCD4x.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,15 @@ and in MQTT topic (according to TelePeriod):
- Return data: -1 in case of error, "value" otherwise
- Exec(ms): time in ms needed for execution
- DPM: may be executed during periodic measurements
- Use SCD40Stop before changing settings. Use SCD40Pers and SCD40strt after changing settings.

| Command | Returns | Exec(ms) | DPM | Function |
|---|---|---|---|---|
| SCD40Alt | data | 1 | no | Get Sensor Altitude (in m)
| SCD40Alt x | errorvalue | 1 | no | Set Sensor Altitude in range 0-3000 (in m)
| SCD40Auto | data | 1 | no | Get CalibrationEnabled status (bool)
| SCD40Auto x | errorvalue | 1 | no | Set CalibrationEnabled status (bool)
| SCD40Toff | data | 1 | no | Set Temperature offset (centigrades)
| SCD40Toff | data | 1 | no | Set Temperature offset (centigrades) (higher value is lower reading, no negative value)
| SCD40Toff x | errorvalue | 1 | no | Set Temperature offset (centigrades) (some rounding may occur)
| SCD40Pres x | errorvalue | 1 | yes | Set Ambient Pressure in range 700-1200(mbar) (overrides Sensor Altitude setting)
| SCD40Cal x | errorvalue | 400 | no | Perform forced recalibration (ppm CO2)
Expand Down