Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
Promise<void> SetCursor(in unsigned long cursor) // 0=off, 1=blink, 2=underline, 3=both

...

Sets the cursor style: 0 is off; 1 is blink; 2 is underline; 3 is both

SetContrast()
Code Block
languagejson
Promise<void> SetContrast(in unsigned long contrast)

Set the display contrast in values from 0 to 100

GetContrast()
Code Block
languagejson
Promise<void> GetContrast()

Gets the display contrast

SetBrightness()
Code Block
languagejson
Promise<void> SetBrightness(in unsigned long brightness)

Set the display brightness in values from 0 to 100

GetBrightness()
Code Block
languagejson
Promise<int> GetBrightness()

Gets the display brightness