Skip to content

Instantly share code, notes, and snippets.

@bearoff
bearoff / dronefly.js
Created June 24, 2018 16:45 — forked from saval/dronefly.js
drone FORK!
const pdrone = require('pdrone');
const drone = pdrone({id: 'mambo', debug: false});
var f_long = true;
/** Helper function */
function sleep(ms) {
return new Promise(a => setTimeout(a, ms));
}