usb-webmail-notifier

0.0.1 • Public • Published

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');

Package Sidebar

Install

npm i usb-webmail-notifier

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • pixelscript