odroid-blue-led
Use Odroid's blue light with nodeJS.
The idea is to manipulate the small blue LED with nodejs in a future development on ODROID .
The goal will be to create a pluggin running nodejs. An object should do the trick . A GETTER to read the state of the LED and some SETTERS to adjust it. The object should be able to turn on or off the LED flash at the desired frequency.
Installation
[NodeJS][nodejs_dev] versions 10.12.x are currently supported and tested.
Install from NPM (Easy way)
$ npm install odroid-blue-led.js
API
var led = new BlueLed();
: Create a new instance of odroid-blue-led.
Example of use
/** * New instance of BlueLed */var led = ; //You can catch event emited when the Blue LED has changed stateled; led;
Ref : http://forum.odroid.com/viewtopic.php?f=77&t=3377&p=27705&hilit=leds#p27621
Skeleton of the application inspired by https://github.com/JamesBarwell/rpi-gpio.js