Example using Johnny-Five + Edison-IO to directly control an Intel Edison
Fritzing diagram: docs/breadboard/led-1-edison-miniboard.fzz
Run this example from the command line with:
node eg/edison-io-miniboard.js
const { Board, Led } = require("johnny-five");
const Edison = require("edison-io");
const board = new Board({
io: new Edison()
});
board.on("ready", () => {
const led = new Led(1);
led.blink();
});
In order to use the Edison-IO library, you will need to flash the Intel IoTDevKit Image on your Edison. Once the environment is created, install Johnny-Five and Edison-IO.
npm install johnny-five edison-io
Copyright (c) 2012-2014 Rick Waldron [email protected] Licensed under the MIT license. Copyright (c) 2015-2023 The Johnny-Five Contributors Licensed under the MIT license.