Rasberry Pi LED
The package lets you control the LED (Light-Emitting Diode) state.
npm)
Installation (via$ npm install --save raspberry-pi-led
Usage
This package uses Bluebird's promises. It supports ES5 or later.
The following example uses ES6 features.
const LED = const led = name: 'My red LED' pin: 15 // name - optional, pin (required): gpio pin number.led