...
Code Block | ||
---|---|---|
| ||
var chardisplayClass = require("@brightsign/chardisplay"); var chardisplay = new chardisplayClass(); |
CharDisplay
...
show()
Code Block | ||
---|---|---|
| ||
Promise<void> Showshow(in unsigned long row, in unsigned long col, in DOMString text) |
Displays text at prescribed position.
...
clear()
Code Block | ||
---|---|---|
| ||
Promise<void> Clearclear() |
Clears the display.
...
setPos()
Code Block |
---|
Promise<void> SetPossetPos(in unsigned long row, in unsigned long col) |
Positions the cursor
...
setCursor()
Code Block | ||
---|---|---|
| ||
Promise<void> SetCursorsetCursor(in unsigned long cursor) |
Sets the cursor style: 0 is off; 1 is blink; 2 is underline; 3 is both
...
setContrast()
Code Block | ||
---|---|---|
| ||
Promise<void> SetContrastsetContrast(in unsigned long contrast) |
Set the display contrast in values from 0 to 100
...
getContrast()
Code Block | ||
---|---|---|
| ||
Promise<void> GetContrastgetContrast() |
Gets the display contrast
...
setBrightness()
Code Block | ||
---|---|---|
| ||
Promise<void> SetBrightnesssetBrightness(in unsigned long brightness) |
Set the display brightness in values from 0 to 100
...
getBrightness()
Code Block | ||
---|---|---|
| ||
Promise<int> GetBrightnessgetBrightness() |
Gets the display brightness