RpiBacklight v0.2.1 RpiBacklight View Source

Simple Raspberry Pi backlight control (via sysfs).

Link to this section Summary

Functions

Sets display brightness. Level must be between 0 and 255

Turns off display backlight

Turns on display backlight

Link to this section Functions

Link to this function brightness(level) View Source
brightness(integer()) :: :ok | {:error, :operation | :out_of_bound}

Sets display brightness. Level must be between 0 and 255.

Link to this function off() View Source
off() :: :ok | {:error, :operation}

Turns off display backlight.

Link to this function on() View Source
on() :: :ok | {:error, :operation}

Turns on display backlight.