Merge pull request #237 from mattetti/patch-1
Update blink example due to API change
This commit is contained in:
commit
454ba4e273
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue