Created
February 14, 2018 15:30
-
-
Save pchinjr/80274f11b36c2de0a6be21ecf6875c4c to your computer and use it in GitHub Desktop.
This file contains 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
const RollingSpider = require('rolling-spider'); | |
const rollingSpider = new RollingSpider(); | |
rollingSpider.connect( function() { | |
rollingSpider.setup( function () { | |
rollingSpider.flatTrim(); | |
rollingSpider.startPing(); | |
rollingSpider.flatTrim(); | |
console.log('Connected to drone ', rollingSpider.name); | |
console.log(rollingSpider.status); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment