mjolnir._asm.sys.brightness

Home: https://github.com/asmagill/mjolnir_asm.sys

Functions for manipulating display brightness.

This module is based primarily on code from the previous incarnation of Mjolnir by Steven Degutis.

get

mjolnir._asm.sys.brightness.get() -> number

Returns the current brightness of the display.

set

mjolnir._asm.sys.brightness.set(number) -> boolean

Sets the display brightness. Number should be between 0 and 100.