Created
September 1, 2017 12:30
-
-
Save matiasinsaurralde/37e8e7bf242b8d2c1c86d1363155ed02 to your computer and use it in GitHub Desktop.
bebop-test.go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"time" | |
"gobot.io/x/gobot/platforms/parrot/bebop/client" | |
) | |
func main() { | |
bebop := client.New() | |
bebop.Connect() | |
bebop.TakeOff() | |
time.Sleep(5 * time.Second) | |
bebop.Land() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
on Exception:
bebop.Crash()