Versions in this module Expand all Collapse all v0 v0.1.1 Jun 15, 2019 Changes in this version + func HostInit() error + type DHT struct + func NewDHT(pinName string, temperatureUnit TemperatureUnit, sensorType string) (*DHT, error) + func (dht *DHT) Read() (humidity float64, temperature float64, err error) + func (dht *DHT) ReadBackground(humidity *float64, temperature *float64, sleepDuration time.Duration, ...) + func (dht *DHT) ReadRetry(maxRetries int) (humidity float64, temperature float64, err error) + type TemperatureUnit int + const Celsius + const Fahrenheit