Versions in this module Expand all Collapse all v1 v1.0.0 Aug 10, 2017 Changes in this version + type Dev struct + func NewI2C(b i2c.Bus, opts *Opts) (*Dev, error) + func NewSPI(p spi.Port, opts *Opts) (*Dev, error) + func (d *Dev) Halt() error + func (d *Dev) Sense(env *devices.Environment) error + func (d *Dev) String() string + type Filter uint8 + const F16 + const F2 + const F4 + const F8 + const FOff + type Opts struct + Address uint16 + Filter Filter + Humidity Oversampling + Pressure Oversampling + Standby Standby + Temperature Oversampling + type Oversampling uint8 + const No + const O16x + const O1x + const O2x + const O4x + const O8x + type Standby uint8 + const S10ms + const S125ms + const S1s + const S20ms + const S250ms + const S500ms + const S500us + const S62ms