0.8.0 • Published 9 years ago

zetta-led-edison-driver v0.8.0

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

LED Device for Intel Edison

This is a LED device for use in the Zetta platform on Edison

##Install

npm install zetta-led-edison-driver

##Usage

To use simply call the use() function in your code to use this device.

var zetta = require('zetta');
var LEDs = require('zetta-led-edison-driver');

zetta()
  .use(LEDs, 13)
  .listen(1337, function(){
    console.log('Zetta is running at http://edison.local:1337');
  });

Hardware

###Transitions

#####turn-on

No arguments. Turns on the led continuously.

#####turn-on-pulse

No arguments. Alternately turn the led on for 150 ms then off for 100ms.

#####turn-on-alternating

No arguments. Alternately turns on the led for 100 ms then off for 400ms.

#####turn-off

No arguments. Turns off the beeping.

#####flash

No arguments. Flashes the led once.

0.8.0

9 years ago

0.7.0

10 years ago

0.6.0

10 years ago

0.5.1

11 years ago

0.5.0

11 years ago

0.4.0

11 years ago

0.3.0

11 years ago

0.2.0

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago