From d1553458f5354f01ed9b4232dd8e4682f9953344 Mon Sep 17 00:00:00 2001 From: Ron Evans Date: Mon, 3 Jun 2019 19:39:30 +0200 Subject: [PATCH] bme280: add package docs, and add bme280 to README Signed-off-by: Ron Evans --- README.md | 1 + bme280/bme280.go | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/README.md b/README.md index 712fa59..1ceca9f 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,7 @@ func main() { | [AT24CX 2-wire serial EEPROM](https://www.openimpulse.com/blog/wp-content/uploads/wpsc/downloadables/24C32-Datasheet.pdf) | I2C | | [BH1750 ambient light sensor](https://www.mouser.com/ds/2/348/bh1750fvi-e-186247.pdf) | I2C | | [BlinkM RGB LED](http://thingm.com/fileadmin/thingm/downloads/BlinkM_datasheet.pdf) | I2C | +| [BME280 humidity/pressure sensor](https://cdn-shop.adafruit.com/datasheets/BST-BME280_DS001-10.pdf) | I2C | | [BMP180 barometer](https://cdn-shop.adafruit.com/datasheets/BST-BMP180-DS000-09.pdf) | I2C | | [DS1307 real time clock](https://datasheets.maximintegrated.com/en/ds/DS1307.pdf) | I2C | | [DS3231 real time clock](https://datasheets.maximintegrated.com/en/ds/DS3231.pdf) | I2C | diff --git a/bme280/bme280.go b/bme280/bme280.go index 00274cc..6c9f5d1 100644 --- a/bme280/bme280.go +++ b/bme280/bme280.go @@ -1,3 +1,9 @@ +// Package bme280 provides a driver for the BME280 digital combined +// humidity and pressure sensor by Bosch. +// +// Datasheet: +// https://cdn-shop.adafruit.com/datasheets/BST-BME280_DS001-10.pdf +// package bme280 import (