Skip to content

Commit

Permalink
Update blink example due to API change
Browse files Browse the repository at this point in the history
  • Loading branch information
mattetti committed Oct 8, 2015
1 parent 360585a commit a129ff0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platforms/firmata/client/examples/blink.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a129ff0

Please sign in to comment.