Run this example from the command line with:
node eg/servo-tessel-servo-module.js
var five = require("johnny-five");
var Tessel = require("tessel-io");
var board = new five.Board({
io: new Tessel()
});
board.on("ready", function() {
console.log("Connected");
// Initialize the servo instance
var servo = new five.Servo({
controller: "PCA9685",
port: "A",
address: 0x73,
pin: 1,
});
servo.sweep();
});
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.