zetta-led-raspberrypi-driver

0.0.2 • Public • Published

Raspberry Pi LED Device

This is a LED device for use in the Zetta platform.

Installation

npm install zetta-led-raspberrypi-driver

Usage

You must run node as sudo for this release.

To use simply call the use() function in your code to use this device with the argu of the pin number

var zetta = require('zetta');
var LED = require('zetta-led-raspberrypi-driver');
 
zetta()
  .use(LED,7) // User LED on GPIO Pin 7
  .listen(1337);

Readme

Keywords

Package Sidebar

Install

npm i zetta-led-raspberrypi-driver

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • jsavko