Re: What decides the Mono LCD gray scale?
From: voidcoder (voidcoder_at_yahoo.com)
Date: 12/28/04
- Next message: Zhongwei Wang at AppliedData: "Re: Touch Screen Experts Please Have A Look"
- Previous message: voidcoder: "Re: How to set the microphone volume in WinCE 4.20 ?"
- In reply to: cool_harber: "What decides the Mono LCD gray scale?"
- Next in thread: cool_harber: "Re: What decides the Mono LCD gray scale?"
- Reply: cool_harber: "Re: What decides the Mono LCD gray scale?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 28 Dec 2004 16:21:45 +0100
If You want to use SA_Lcd driver for that - you are out of luck.
There are no support for true 4bpp mode. However you can use
8bpp mode and turn on monochrome mode in the controller.
Then just setup your palette with grayscale entries
(modify DispDrvrSetPalette function). In this case You will have
8bpp in frame buffer memory, 4bpp output and 16bit lookup palette
(where only lower 8bits are grayscale values). And of course
You have to setup other LCD contoller settings: timings, clocks etc.
At least it works o.k. for me on PXA270.
"cool_harber" <cool_harber@hotmail.com> wrote in message
news:eN2ZwbO7EHA.3076@TK2MSFTNGP15.phx.gbl...
> The mono lcd`s gray scale is decided by lcd controller or lcd itself?
> I have a mono lcd with 4 data pins and about 70 Hz frame frequence ,I
> want to use PXA255 to controll it.Do I get 256 scale gray?
> Any suggestion is appreciated.
>
>
- Next message: Zhongwei Wang at AppliedData: "Re: Touch Screen Experts Please Have A Look"
- Previous message: voidcoder: "Re: How to set the microphone volume in WinCE 4.20 ?"
- In reply to: cool_harber: "What decides the Mono LCD gray scale?"
- Next in thread: cool_harber: "Re: What decides the Mono LCD gray scale?"
- Reply: cool_harber: "Re: What decides the Mono LCD gray scale?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|