Scanning BackLight Features
- class
scanningBackLight.
ScanningBackLight
Bases:
object
Implements the Scanning Back Light methods for a VIEWPixx.
getBacklightIntensity
()Returns the level of the VIEWPixx back light intensity.
Returns: An integer between 0 and 255.
Example: PYTHON>>> print my_device.getBacklightIntensity() 255
See also
isScanningBackLightEnabled
()Gets the scanning back light state.
Returns: True
if scanning back light is enabled,False
otherwise.Return type: bool
setBacklightIntensity
(intensity)Sets the display current back light intensity.
Parameters: intensity (int) – Set to
0
for the lowest intensity level,255
for the highest, or any value in between.Example: PYTHON>>> my_device.setBacklightIntensity(42) >>> my_device.updateRegisterCache() >>> print my_device.getBacklightIntensity() 42
See also
setScanningBackLight
(enable)Sets the scanning back light mode.
This method allows the user to turn the scanning back light on or off. When the scanning back light is enabled, the screen will look dimmer. When scanning back light is disabled, the screen will look brighter.
Parameters: enable (bool) – Scanning back light mode.