PoC_Team
/
ADMW1001v0510002
Host API Example for the ADMW1001
Diff: i2c0_sensirionSHT3X_config.c
- Revision:
- 8:2f2775c34640
- Parent:
- 6:9d393a9677f4
diff -r e75e825c04a4 -r 2f2775c34640 i2c0_sensirionSHT3X_config.c --- 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, }, },