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:
- 8:2f2775c34640
- Parent:
- 6:9d393a9677f4
- Child:
- 13:97cb32670539
--- a/i2c0_sensirionSHT3X_config.c Tue Jun 18 09:28:16 2019 +0000
+++ b/i2c0_sensirionSHT3X_config.c Thu Jun 20 18:13:57 2019 +0000
@@ -54,14 +54,14 @@
.dataReadyMode = ADMW1001_DATAREADY_PER_CYCLE,
},
.channels = {
- [ADMW1001_CHANNEL_ID_I2C_0] = {
+ [ADMW1001_CH_ID_DIG_I2C_0] = {
.enableChannel = true,
.disablePublishing = false,
- .compensationChannel = ADMW1001_CHANNEL_ID_NONE,
+ .compensationChannel = ADMW1001_CH_ID_NONE,
.measurementsPerCycle = 10,
.extraSettlingTime = 15000,
.i2cChannelConfig = {
- .sensor = ADMW1001_I2C_SENSOR_HUMIDITY_B_DEF_L1,
+ .sensor = ADMW1001_I2C_SENSOR_HUMIDITY_B,
.deviceAddress = 0x44,
},
},