Permalink
017e5f1 Jun 8, 2018
4 contributors

Users who have contributed to this file

@rwaldron @dtex @Resseguie @BrianGenisio
86 lines (42 sloc) 1.32 KB

Led Blink on Intel Galileo Gen 2

Example using Johnny-Five + Galileo-IO to directly control an Intel Galileo Gen 2

LED on pin 13

docs/breadboard/led-13-galileo.png

Fritzing diagram: docs/breadboard/led-13-galileo.fzz

 

Run this example from the command line with:

node eg/galileo-io.js
var five = require("johnny-five");
var Galileo = require("galileo-io");
var board = new five.Board({
  io: new Galileo()
});

board.on("ready", function() {
  var led = new five.Led(13);
  led.blink();
});

Illustrations / Photos

Galileo Gen 2

docs/images/galileo-gen2.jpg

Additional Notes

In order to use the Galileo-IO library, you will need to flash the Intel IoTDevKit Image on your Galileo Gen 2. Once the environment is created, install Johnny-Five and Galileo-IO.

npm install johnny-five galileo-io

Learn More

 

License

Copyright (c) 2012-2014 Rick Waldron waldron.rick@gmail.com Licensed under the MIT license. Copyright (c) 2015-2018 The Johnny-Five Contributors Licensed under the MIT license.