Julián Duque
Developer by Passion
Engineer at NodeSource
var five = require('johnny-five');
var board = new five.Board();
board.on('ready', function () {
var led = new five.Led(13);
led.blink();
});
$ npm install johnny-five
led.js
$ [sudo] node led.js
Blink a Led
module.exports = {
Accelerometer: require("./accelerometer"),
Animation: require("./animation"),
Board: require("./board"),
Button: require("./button"),
Compass: require("./compass"),
Distance: require("./distance"),
ESC: require("./esc"),
Gripper: require("./gripper"),
Gyro: require("./gyro"),
IR: require("./ir"),
LCD: require("./lcd"),
Led: require("./led"),
LedControl: require("./ledcontrol"),
Joystick: require("./joystick"),
Motor: require("./motor"),
Nodebot: require("./nodebot"),
Piezo: require("./piezo"),
Ping: require("./ping"),
Pir: require("./pir"),
Relay: require("./relay"),
Sensor: require("./sensor"),
Servo: require("./servo"),
ShiftRegister: require("./shiftregister"),
Sonar: require("./sonar"),
Stepper: require("./stepper"),
Switch: require("./switch"),
Wii: require("./wii")
};
and more...
July 27
Sumo Bot Jr - Spark Core + Android Wear
ardrone + ardrone-webflight
Arduino (Mega) + I/O Mega Shield + 8 Servos
Arduino + Adafruit Trellis
BeagleBone Black + Mic + Neopixel
Arduino + Ultrasonic Sensors + WebAudio