Skip to content

Instantly share code, notes, and snippets.

@Jaspur
Jaspur / composer.lock
Created March 11, 2020 10:08
composer.lock of Laravel 7
{
"_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",
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