![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
AdiSense1000_V21 MBED API
Fork of AdiSense1000 by
Diff: i2c0_honeywellHumidicon_config.c
- Branch:
- v2.0
- Revision:
- 29:57edca10d78c
- Parent:
- 27:567abf893938
- Child:
- 31:de49744b57a6
--- a/i2c0_honeywellHumidicon_config.c Mon Mar 26 20:28:05 2018 +0100 +++ b/i2c0_honeywellHumidicon_config.c Tue May 22 13:45:24 2018 +0100 @@ -54,30 +54,6 @@ .dataReadyMode = ADI_SENSE_1000_DATAREADY_PER_CYCLE, }, .channels = { - [ADI_SENSE_1000_CHANNEL_ID_CJC_0] = { - .enableChannel = false, - }, - [ADI_SENSE_1000_CHANNEL_ID_CJC_1] = { - .enableChannel = false, - }, - [ADI_SENSE_1000_CHANNEL_ID_SENSOR_0] = { - .enableChannel = false, - }, - [ADI_SENSE_1000_CHANNEL_ID_SENSOR_1] = { - .enableChannel = false, - }, - [ADI_SENSE_1000_CHANNEL_ID_SENSOR_2] = { - .enableChannel = false, - }, - [ADI_SENSE_1000_CHANNEL_ID_SENSOR_3] = { - .enableChannel = false, - }, - [ADI_SENSE_1000_CHANNEL_ID_VOLTAGE_0] = { - .enableChannel = false, - }, - [ADI_SENSE_1000_CHANNEL_ID_CURRENT_0] = { - .enableChannel = false, - }, [ADI_SENSE_1000_CHANNEL_ID_I2C_0] = { .enableChannel = true, .disablePublishing = false, @@ -85,22 +61,10 @@ .measurementsPerCycle = 10, .extraSettlingTime = 36500, .i2cChannelConfig = { - .sensor = ADI_SENSE_1000_I2C_SENSOR_HUMIDITY_HONEYWELL_HUMIDICON, + .sensor = ADI_SENSE_1000_I2C_SENSOR_HUMIDITY_A_DEF_L1, .deviceAddress = 0x27, }, }, - [ADI_SENSE_1000_CHANNEL_ID_I2C_1] = { - .enableChannel = false, - }, - [ADI_SENSE_1000_CHANNEL_ID_SPI_0] = { - .enableChannel = false, - }, - [ADI_SENSE_1000_CHANNEL_ID_SPI_1] = { - .enableChannel = false, - }, - [ADI_SENSE_1000_CHANNEL_ID_SPI_2] = { - .enableChannel = false, - }, }, }, };