Update blink example due to API change
This commit is contained in:
parent
360585a593
commit
a129ff03fa
|
@ -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