digispark: update blink example to display error message on Start()

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram 2017-05-27 12:20:01 +02:00
parent 431b394589
commit 1fb5aee7e9
1 changed files with 5 additions and 1 deletions

View File

@ -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)
}
}