bme280

package
v0.7.3-rc0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Package bme280 implements a bme280 sensor for temperature, humidity, and pressure. Code based on https://github.com/sparkfun/SparkFun_bme280_Arduino_Library (MIT license) and also https://github.com/rm-hull/bme280 (MIT License)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.2.36

type Config struct {
	Board   string `json:"board"`
	I2CBus  string `json:"i2c_bus"`
	I2cAddr int    `json:"i2c_addr,omitempty"`
}

Config is used for converting config attributes.

func (*Config) Validate added in v0.2.36

func (conf *Config) Validate(path string) ([]string, error)

Validate ensures all parts of the config are valid.

Jump to

Keyboard shortcuts

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