Skip to main content

BacklightSettings Class

Package: GHIElectronics.Endpoint.Devices.Display
Namespace: GHIElectronics.Endpoint.Devices.Display

GPIO pin that drives the panel's backlight.

public sealed class BacklightSettings

Constructors​

BacklightSettings()​

public BacklightSettings()

Properties​

ActivePolarity​

public SignalPolarity ActivePolarity { get; set; }

Which GPIO level turns the backlight ON. ActiveHigh (default) = pulled high to light the panel. ActiveLow is common when the pin drives the gate of a PNP transistor.

Returns SignalPolarity

GpioChip​

public string GpioChip { get; set; }

Gpiochip name as the kernel exposes it (e.g. "gpiochip7").

Returns string

GpioPin​

public Nullable<int> GpioPin { get; set; }

Line number on the chip.

Returns Nullable<int>