[][src]Function shtcx::shtw2

pub fn shtw2<I2C>(i2c: I2C, address: u8) -> ShtW2<I2C>

Create a new instance of the driver for the SHTW2.

Since the SHTW2 is also available in an alternative address version, the I²C address must be explicitly specified. For the standard SHTW2, it's 0x70.

See ShtCx for detailed documentation of the available methods.