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) error
Validate ensures all parts of the config are valid.
Click to show internal directories.
Click to hide internal directories.