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()​

BacklightSettings();

Properties​

ActivePolarity​

SignalPolarity ActivePolarity() const;
void ActivePolarity(SignalPolarity value);

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​

std::string GpioChip() const;
void GpioChip(std::string value);

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

Returns string

GpioPin​

Nullable<int32_t> GpioPin() const;
void GpioPin(Nullable<int32_t> value);

Line number on the chip.

Returns Nullable<int>