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
const Raspi = require('raspi-io'); | |
const five = require('johnny-five'); | |
const board = new five.Board({ | |
io: new Raspi() | |
}); | |
board.on('ready', () => { | |
var button = new five.Led('P1-7'); | |
// Create an Led on pin 7 (GPIO4) on P1 and strobe it on/off |
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
{ | |
"_readme": [ | |
"This file locks the dependencies of your project to a known state", | |
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", | |
"This file is @generated automatically" | |
], | |
"content-hash": "6558f74828bca9ebecac73d90cea4b1a", | |
"packages": [ | |
{ | |
"name": "asm89/stack-cors", |