pxaregs and backlight control

From: Matt Barclay <mbarclay_at_gmail.com>
Date: Wed, 14 Mar 2007 12:32:05 -0700

Hello,

pxaregs is a tool for reading and setting PXA2xx registers. It
originally comes from here:

http://www.mn-logistik.de/unsupported/pxa250/

I've modified it slightly to compile with the angstrom gcc 4.1.1
compiler. The source can be found here:

http://axim.openfbo.com/pxaregs.c

And a binary here:

http://axim.openfbo.com/pxaregs-axim

You can use it to control the LCD backlight:

Backlight Off:
./pxaregs-axim PWMDUTY0_DCYCLE 0

Backlight On full intensity:
./pxaregs-axim PWMDUTY0_DCYCLE 1023

Or anything in between. I don't notice much change in intensity
beyond 600 or so.

The Axim is using a pulse width modulation (PWM) pin to control brightness.

Cheers,
Matt
Received on Wed Mar 14 2007 - 14:32:14 EST

This archive was generated by hypermail 2.2.0 : Wed Mar 14 2007 - 14:32:31 EST