bme280

package
v0.0.0-...-4d5c8f7 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2021 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Overview

Thin wrapper around perip.io bme280

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BME280

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

func New

func New() (*BME280, error)

func (*BME280) Read

func (dev *BME280) Read() (*Readings, error)

type Readings

type Readings struct {
	Temperature physic.Temperature
	Pressure    physic.Pressure
	Humidity    physic.RelativeHumidity
}

Jump to

Keyboard shortcuts

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