Results 1 to 2 of 2

Thread: Turn off LCD backlight

  1. #1
    tttelecom Guest

    Default Turn off LCD backlight

    How can I turn off the LCD backlight? I would prefer one or more of the following options:

    1. Permanent LCD on/off toggle function
    2. Activate backlight on (LCD) activity
    3. Turn off backlight after x time of (LCD) inactivity.

  2. #2
    Join Date
    Jul 2008


    In general, the only way I have found to control the LCD is through the astmanproxy daemon written in C code. I have customize this code on a few occasions and from this I will share what I have found. astmanproxy is the code that displays the ports, handles the button toggles, etc. And this is also the place where I think code modification would be necessary.

    'package/astmanproxy/' in PADS shows where the source code for this package can be obtained. The basic hiearchy of code in this astmanproxy package is following: astmanproxy -> pika_lcd_sample -> pikalcd. This pikalcd layer uses a more defined API prefixed with 'PK_LCD_' provided by a separate library. I found some old documentation for this API in the following document link under Appendix A.

    In this API there is a PK_LCD_SetConfig function which sets the PK_LCD_TLCDConfig structure. In this structure there is a 'brightness' field which represents a percentage of brightness. Using this function I think one could selectively pick when to light up or darken the LCD in the astmanproxy code. Hope this general outline is of help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts