0.0.1 • Published 10 years ago

usb-webmail-notifier v0.0.1

Weekly downloads
5
License
MIT
Repository
github
Last release
10 years ago

usb-webmail-notifier

Node.js Controller for the USB "Webmail Notifier" that can light up with 7 different colours.

Green Gallery of colours

Cycle the colours:

var notifier = require('usb-webmail-notifier');
notifier.cycle();

Set a color:

notifier.color('GREEN');

Play a sequence:

// sequence, delay, loop, startIndex
notifier.play(['RED','OFF','GREEN','OFF'],100,true,1);

Flash:

// colour, delay, times
notifier.flash('RED',1000,20);

Switch off:

notifier.off(); // or notifier.color('OFF');

0.0.1

10 years ago

0.0.0

10 years ago