Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Next »

The chardisplay object provides

securestore IDL

interface CharDisplay {
    Promise<void> Show(in unsigned long row, in unsigned long col, in DOMString text)
    Promise<void> Clear()
    Promise<void> SetPos(in unsigned long row, in unsigned long col)
    Promise<void> SetCursor(in unsigned long cursor) // 0=off, 1=blink, 2=underline, 3=both
    Promise<void> SetContrast(in unsigned long contrast) // 0-100
    Promise<int> GetContrast()
    Promise<void> SetBrightness(in unsigned long brightness) // 0-100
    Promise<int> GetBrightness()
}

Object Creation

To create a chardisplay object, load the @brightsign/chardisplay module using the Node.js® require() method:

var chardisplayClass = require("@brightsign/chardisplay");
var chardisplay = new chardisplayClass();

CharDisplay

Clear()
Promise<void> Clear()

Clears the display.




  • No labels