grovepiDHT

package
v0.0.0-...-d478be3 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2020 License: MIT, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (

	//Cmd format
	DHT_READ = 40
)

Variables

This section is empty.

Functions

func NewActivity

func NewActivity(metadata *activity.Metadata) activity.Activity

NewActivity creates a new Activity

Types

type GrovePi

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

func InitGrovePi

func InitGrovePi(address int) *GrovePi

func (GrovePi) CloseDevice

func (grovePi GrovePi) CloseDevice()

func (*GrovePi) ReadDHT

func (grovePi *GrovePi) ReadDHT(pin byte) (float32, float32, error)

Jump to

Keyboard shortcuts

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