Skip to main content

BacklightSettings Class

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

GPIO pin that drives the panel's backlight.

class BacklightSettings: ...

Constructors​

BacklightSettings()​

def __init__(self):

Properties​

ActivePolarity​

ActivePolarity: SignalPolarity # @property / @setter

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​

GpioChip: str # @property / @setter

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

Returns string

GpioPin​

GpioPin: Nullable[int] # @property / @setter

Line number on the chip.

Returns Nullable<int>