Created
May 15, 2018 00:58
-
-
Save lewisdaly/6fbfd88779181183ab736265f0cd304f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var five = require("johnny-five"), | |
board = new five.Board(); | |
board.on("ready", function () { | |
// Create an Led on pin 13 | |
var led = new five.Led(13); | |
// Strobe the pin on/off, defaults to 100ms phases | |
led.strobe(200); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment