Please enable JavaScript to view this site.

CWT Software Configuration Handbook 4.40

Navigation: Reference Guide CWTCONFIG.XML > CORE element

TFTBacklight (CWT 2120 and CWT Compact display)

Scroll Prev Top Next More

Element        Path: <cwt><CORE><TFTBacklight>

CWT 2120 and CWT Compact display

This attribute controls the use and the brightness of the background illumination in a TFT display.

The power save function may override some light behaviour and some light configurations. See powerSaveMode in CORE element, and Example of a light setup, for more details including examples

Note:
Setting mode to AlwaysOff will make the TFT-display unreadable. The TFT-display needs at least some backlight illumination compared to the STN-backlight, which is readable at without backlight.

For controlling TFT Backlight brightness from UI-buttons, see the Click function OnSetTftBacklight in the CWT User Interface Design Handbook.

attributes

brightnessMax

Range:0 – 100
Default: for Mains 80
Description:Maximum brightness in %

Note: when in Solar mode the default will be 40%

brightnessMin

Range:0 – 100
Default: for Mains 0
Description:Minimum brightness in %

darkerThenLessBrightness

Range:true / false
Default: for Mains true
Description:If true, the light will decrease when it darkens outside.
If false, the light will increase when it darkens outside.

darknessMode

Range:Threshold, LinearFromThreshold
Default: for Mains Threshold
Description:The darkness dependent light modes are controlled by the Ambient Light module.

Threshold: The brightness is set to a fixed (min./max.) value depending on whether the measured ambient light is above or below the threshold set for the ambient light sensor.

LinearFromThreshold: The backlight brightness is changed linearly to the measured ambient light when the measured ambient light is above or below the threshold (depending on the setting of the attribute darkerThenLessBrightness).
The hysteresis is not used when LinearFromTreshold mode is selected.

mode

Range:AlwaysOff, AlwaysOn, TurnedOnDuringPurchase, ChangedDuringDarkness, TurnedOnDuringPurchaseInDarkness, TimeControlled
Default: for Mains AlwaysOn
Description:AlwaysOff: The backlight is always off

AlwaysOn: Always ON except when in sleep mode. attribute brightnessMax defines brightness when turned ON

TurnedOnDuringPurchase: Always ON except when in sleep mode. attribute brightnessMax defines brightness during purchase. attribute brightnessMin defines brightness during idle when not in sleep mode

ChangedDuringDarkness: The Ambient Light module calculates the brightness value. See ambientLightSensor.

TurnedOnDuringPurchaseInDarkness: Turned ON at brightnessMin during idle when not in sleep. During a purchase, The Ambient Light module calculates the brightness value. See ambientLightSensor.

TimeControlled: Time controlled brightness values