digispark: update blink example to display error message on Start()
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
parent
431b394589
commit
1fb5aee7e9
|
@ -5,6 +5,7 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"gobot.io/x/gobot"
|
||||
|
@ -28,5 +29,8 @@ func main() {
|
|||
work,
|
||||
)
|
||||
|
||||
robot.Start()
|
||||
err := robot.Start()
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue