Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: i2c0_sensirionSHT3X_config.c
- Revision:
- 56:38b36e947602
- Parent:
- 45:f5f553b8c0d5
diff -r 215da406282b -r 38b36e947602 i2c0_sensirionSHT3X_config.c
--- a/i2c0_sensirionSHT3X_config.c Mon Feb 24 07:04:35 2020 +0000
+++ b/i2c0_sensirionSHT3X_config.c Mon Feb 24 08:49:25 2020 +0000
@@ -50,29 +50,25 @@
.powerMode = ADMW1001_POWER_MODE_ACTIVE,
},
.measurement = {
+ .externalRefVoltage=0.0,
+ .AVDDVoltage=3.0,
.operatingMode = ADMW1001_OPERATING_MODE_CONTINUOUS,
- .dataReadyMode = ADMW1001_DATAREADY_PER_CYCLE, // FIX: Temporarily all values from json are hardcoded to this one in the Contracts.FileGenerator - > file translations!!
+ .dataReadyMode = ADMW1001_DATAREADY_PER_CYCLE,
.cycleInterval = 0,
- },
- .diagnostics = {
- .disableGlobalDiag = true,
- .disableMeasurementDiag = true,
- .osdFrequency = 0,
+ .excitationState = ADMW1001_ADC_EXC_STATE_CYCLE_POWER,
},
.channels = {
[ADMW1001_CH_ID_DIG_I2C_0] = {
.enableChannel = true,
-// .gain = ADMW1001_ADC_GAIN_1X,
.disablePublishing = false,
.compensationChannel = ADMW1001_CH_ID_NONE,
.measurementUnit = ADMW1001_MEASUREMENT_UNIT_UNSPECIFIED,
.measurementsPerCycle = 1,
- .extraSettlingTime = 15,
+ .extraSettlingTime = 99.5000014663674,
.i2cChannelConfig = {
.sensor = ADMW1001_I2C_SENSOR_HUMIDITY_B,
},
}
},
},
-};
-
+};
\ No newline at end of file