All Forums
 Microsoft Windows CE
 CE Sample Applications and Utilities
 eVC - Backlight test
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

akidder

1519 Posts

Posted - 15 May 2002 :  15:33:28  Show Profile  Email Poster
Backlight_Test.exe

Backlight_test.exe is useful for testing the range of software control for the backlight. It demonstrates how to control backlighting (display brightness) generically for all ADS products.

The application ramps the backlight intensity up and down from min to max 50 times. At level 255 (brightest for LS520 inverter), the backlight turns off briefly.

There is no user interface. Status information is displayed on the
debug port. This application is based on the Vee ramp test.

Key APIs Used

CreateFile
DeviceIoControl
SIOBackLightPwm
SIOBacklightOn
SIOBacklightOff

Lines of Code: 380

Notes: Rev 4 of this application dynamically links the ADSmartIO libraries using the ADSmartIO wrapper class.
Graphics Master users may need to still use rev 3 (zip, 18k), which supports its non-ADSmartIO backlight control.

Source Download
Rev 4 (32k zip)



Edited by ctacke 31-March-2003: added key APIs and LOC
Edited by akidder 23-June-2003: clarify that this application does dynamically link librarires
Edited by akidder 15-July-2003: update link to rev 3
Edited by akidder 6-Apr-2005: Add link to rev 4 app and to the ADSmartIO class. Update comments to reflect changes.

akidder

1519 Posts

Posted - 15 Jul 2003 :  11:34:36  Show Profile  Email Poster
Update: Reverse Polarity Option

Rev 3 of the application adds a conditional define that inverts the logic for turning the backlight inverter on and off.

The zip file includes compiled versions for "standard" (LS520) and inverted logic.
Go to Top of Page

akidder

1519 Posts

Posted - 06 Apr 2005 :  18:20:15  Show Profile  Email Poster
Update: Rev 4 Uses ADSmartIO Wrapper Class

Revision 4 of the application uses the ADSmartIO wrapper class to perform the same test as previous versions. It does not currently include support for more than one polarity of backlight inverter.
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.03 seconds. Snitz Forums 2000