diff --git a/platforms/firmata/client/examples/blink.go b/platforms/firmata/client/examples/blink.go index 62300fe5..b9c431d7 100644 --- a/platforms/firmata/client/examples/blink.go +++ b/platforms/firmata/client/examples/blink.go @@ -14,10 +14,10 @@ func main() { panic(err) } - board := client.New(sp) + board := client.New() fmt.Println("connecting.....") - err = board.Connect() + err = board.Connect(sp) defer board.Disconnect() if err != nil {