i2c: add Humidity() to bme280 example

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram 2017-03-28 17:35:27 +02:00
parent f523fc6447
commit 4c573b43f4
1 changed files with 3 additions and 0 deletions

View File

@ -26,6 +26,9 @@ func main() {
p, _ := bme280.Pressure()
fmt.Println("Pressure", p)
h, _ := bme280.Humidity()
fmt.Println("Humidity", h)
})
}