Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dev ¶
type Dev struct {
// contains filtered or unexported fields
}
Dev is a handle to an initialized HTU21 device.
func NewI2C ¶
NewI2C returns an object that communicates over I²C to HTU21 environmental sensor.
HTU21 I²C device address is 0x40, according to the datasheet https://www.te.com/usa-en/models/4/00/028/790/CAT-HSC0004.html
Click to show internal directories.
Click to hide internal directories.