untitled notebook

node v4.9.1
version: 1.0.0
endpointsharetweet
var five = require("johnny-five"); require("firmata"); var EtherPortClient = require("etherport-client").EtherPortClient; // update host to the IP address for your ESP board var board = new five.Board({ port: new EtherPortClient({ host: "192.168.100.7", port: 3030 }), timeout: 1e5, repl: false }); board.on("ready", function() { console.log("READY!"); var led = new five.Led(13); led.blink(500); });
Loading…

no comments

    sign in to comment