intel-edison-lcd-rgb-backlight-display-helper
v1.0.7
Published
Display helper for Grove-LCD RGB Backlight (I2c). This works on the Intel Edison.
Downloads
9
Readme
intel-edison-lcd-rgb-backlight-display-helper
Display helper for Grove-LCD RGB Backlight (I2c). This works on the Intel Edison.
Example
var display = require('intel-edison-lcd-rgb-backlight-display-helper');
// Set display rows/cols
display.set(2, 16);
// Set color
display.setColor('red');
// Set backlight color from 2 colors and range
display.setColorFromTwoColors('green', 'yellow', .5); // set middle color of green and yellow
// Display keyword on row 1
display.write('HELLO!');
// You can add Array too...
display.write(['HELLO', 'BYE']);
// If you want to update only row 2
display.write([null, 'OH MY!']);
// Clear back light color
display.clearColor();
// Clear all copies
display.clearWords();
// Clear specific row
display.clearWord(rowNumber);