bme280

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: AGPL-3.0 Imports: 13 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 AttrConfig

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

AttrConfig is used for converting config attributes.

func (*AttrConfig) Validate

func (config *AttrConfig) 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