temp_humidity

package
v0.0.0-...-a79553f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DHT11

type DHT11 struct {
	// contains filtered or unexported fields
}

func NewDHT11

func NewDHT11(pinNumber int) *DHT11

func (*DHT11) Name

func (ths *DHT11) Name() string

func (*DHT11) ReadTempHumidity

func (ths *DHT11) ReadTempHumidity() (float32, float32, error)

func (*DHT11) SensorTypeInfo

func (ths *DHT11) SensorTypeInfo() sensors.SensorTypeInfo

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL