i2c: add Humidity() to bme280 example
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
parent
f523fc6447
commit
4c573b43f4
|
@ -26,6 +26,9 @@ func main() {
|
|||
|
||||
p, _ := bme280.Pressure()
|
||||
fmt.Println("Pressure", p)
|
||||
|
||||
h, _ := bme280.Humidity()
|
||||
fmt.Println("Humidity", h)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue