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)
Package bme280 is only available on Linux.
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 { // The I2C bus is almost certainly numeric (e.g., the "7" in /dev/i2c-7), but it is nonetheless // possible for the OS to give its I2C buses a non-numeric identifier, so we store it as a // string. I2CBus string `json:"i2c_bus"` I2cAddr int `json:"i2c_addr,omitempty"` }
Config is used for converting config attributes.
Click to show internal directories.
Click to hide internal directories.