intel-edison-lcd-rgb-backlight-display-helper

1.0.7 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i intel-edison-lcd-rgb-backlight-display-helper

Weekly Downloads

0

Version

1.0.7

License

ISC

Last publish

Collaborators

  • mayognaise