Update blink example due to API change

This commit is contained in:
Matt Aimonetti 2015-10-07 23:35:22 -07:00
parent 360585a593
commit a129ff03fa
1 changed files with 2 additions and 2 deletions

View File

@ -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 {