ESCs - An array of ESCs
Breadboard for "ESCs - An array of ESCs"
Fritzing diagram: docs/breadboard/esc-array.fzz
Run this example from the command line with:
node eg/esc-array.js
var five = require("johnny-five");
var board = new five.Board();
board.on("ready", function() {
var escs = new five.ESCs([9, 10]);
// Set the motors to their max speed
escs.max();
board.wait(2000, function() {
// Set the motors to the min speed (stopped)
escs.min();
});
});
License
Copyright (c) 2012, 2013, 2014 Rick Waldron waldron.rick@gmail.com Licensed under the MIT license. Copyright (c) 2016 The Johnny-Five Contributors Licensed under the MIT license.