ST7032 LCD for Tessel
Installation
npm install --save lcd-st7032
Usage
var tessel = ;var ST7032 = ; var port = tesselport'C';var lcd = ST7032; lcd;lcd; lcd;lcd;
API
All functions accept an optional callback.
.clear([cb])
Clear the display.
.setCursor(x, y[, cb])
Set the position where the text will be printed.
.putText(str[, cb])
Put some characters at the current cursor position. The cursors x-position will be incremented with each character.
.setLine(y, str[, cb])
Set the text for an entire line. Removes anything currently on the line.
.setBacklight(intensity[, cb])
Set the backlight intensity. intensity
should be a value between 0 and 1
inclusively.