Library for Silicon Labs Si7006 digital temperature and humidity chip.
Dependents: acd52832_Humidity_Temp_Example iBeacon acnsensa acnSENSA
Diff: Si7006A20.h
- Revision:
- 2:7c3c7db34528
- Parent:
- 1:155934570c14
--- a/Si7006A20.h Mon Sep 25 10:21:52 2017 +0000 +++ b/Si7006A20.h Tue Sep 26 12:04:12 2017 +0000 @@ -43,14 +43,12 @@ RH_10b_TEMP_13b = 0x2, ///< 10 bits for RH, 13 bits for Temp RH_11b_TEMP_11b = 0x3, ///< 11 bits for RH, 11 bits for Temp } resolution_t; - + /** - * Si7006 constructor. + * Si7006 constructor * - * @param sda mbed pin to use for SDA line of I2C interface. - * @param scl mbed pin to use for SCL line of I2C interface. */ - Si7006(PinName sda, PinName scl); + Si7006(I2C *ic2); /** * @brief Get Electronic ID.