Merge pull request #237 from mattetti/patch-1

Update blink example due to API change
This commit is contained in:
Ron Evans 2015-10-09 08:23:20 -07:00
commit 454ba4e273
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 {