Re: What decides the Mono LCD gray scale?

From: voidcoder (voidcoder_at_yahoo.com)
Date: 12/28/04


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.
>
>



Relevant Pages

  • Re: Mixed dual-monitor setup: too weird?
    ... 1024x768 LCD. ... or a symmetric setup, ... separate screens in the config, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Mixed dual-monitor setup: too weird?
    ... 1024x768 LCD. ... Has anyone tried a setup like this? ... you won't have two identical screens ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: What decides the Mono LCD gray scale?
    ... Can you share me your palette source code? ... > You have to setup other LCD contoller settings: ... >> The mono lcd`s gray scale is decided by lcd controller or lcd itself? ...
    (microsoft.public.windowsce.platbuilder)