Qasemt / ilcd

Driver for LCD ( with i2c ) [1602] , [2004] .is Tested in Raspberry Pi and BeagleBone,Cubieboard A20

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ilcd

Driver for LCD ( with i2c ) [1602] , [2004] .is Tested in Raspberry Pi and BeagleBone,Cubieboard A20.

Install

$ npm install ilcd

Usage

var _lcd = require("ilcd").iLCD;
//  by default address = 0x27
// _lcd.SetAddress(0x22);
 var line =1;

_lcd.lineOut("Hello world...", line);


_lcd.ClearLine(line);


_lcd.ClearDisplay();

//_lcd.BackLightOn();
//_lcd.BackLightOff();
//_lcd.DisplayOff();
//_lcd.BackLightOn();

###Note

i2c module for raspbery pi model B
"dependencies":
     "i2c": "0.2.0"
 
i2c module for rapsberry pi model b < %
    "i2c": "0.2.3"

Author:

License:

The MIT License (MIT)

About

Driver for LCD ( with i2c ) [1602] , [2004] .is Tested in Raspberry Pi and BeagleBone,Cubieboard A20


Languages

Language:JavaScript 100.0%