From 0887fefc70a6823dbe9c55ace69f420e52b3bd37 Mon Sep 17 00:00:00 2001 From: deadprogram Date: Tue, 4 Apr 2017 16:00:01 +0200 Subject: [PATCH] i2c: change example for bmp180 to match current method signature Signed-off-by: deadprogram --- examples/firmata_bmp180.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/firmata_bmp180.go b/examples/firmata_bmp180.go index 2aed8014..096ce5be 100644 --- a/examples/firmata_bmp180.go +++ b/examples/firmata_bmp180.go @@ -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) }) }