i2c: change example for bmp180 to match current method signature
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
parent
fa7ce5c646
commit
0887fefc70
|
@ -22,6 +22,9 @@ func main() {
|
|||
gobot.Every(1*time.Second, func() {
|
||||
t, _ := bmp180.Temperature()
|
||||
fmt.Println("Temperature", t)
|
||||
|
||||
p, _ := bmp180.Pressure()
|
||||
fmt.Println("Pressure", p)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue