Something like this is **possible**, but whether or not it is useful is 
another matter.

Whether or not this is useful mainly depends on the twisting of the pixels.
If they twist very fast, then a grey scale might be useful. If they twist very 
slowly then not.

At present the screen is only updated under command and the controller built 
into the display then does the individual pixel refreshing. Since we have no 
way to read the frame state of the lcd, we'd have some issues of beating our 
updates gainst the refreshing within the controller. If you don't align your 
flipping with the updates you ten to get bands of different contrast rippling 
through the display. To mitigate against this you need to make the flipping 
rate slow, but then you tend to get a flashing screen rather than a nice 
greyscale.

I don't hold out much hope, but it is possibly worth attempting at some stage.

On Friday 02 March 2007 18:16, DrAnonymous wrote:
> I was curious about how the LCD was going to be handled, so I grabbed
> the latest from svn.  The current design is for 1 bit graphics (on /
> off).  Has anyone thought of implementing greyscale for the LCD at
> all?
>
> My question comes from using a TI85 calculator.  Years ago when it was
> first hacked, people started writing different assembly language
> systems to support a virtual file system, methods for doing LCD
> manipulations, etc.  One of the things that surfaced was the ability
> to do grey scale on an LCD by changing the duty cycle of the on
> pixels.  The general design was 2 bit graphics.
>
> Off = 00
> LtGrey = 01
> DkGrey = 10
> Black = 11
>
> The screen refresh was basically divided into three periods.  If a
> pixel was off, then it was left off for all three periods.
>
> LtGrey was off the first two periods, but then on for the last one.
>
> DkGrey was on for the first two, then off for the last
>
> Black was on for all three.
>
> To accomplish this two display buffers were used.  The first was shown
> for 2/3 of the refresh rate.  Then, the buffer was swapped and
> displayed for the last 1/3.
>
> Given the power of the NXT hardware compared to the ancient TI85, it
> would seem doable.
>
> How possible would something like this be for lejos?  Its definately a
> different approach.
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Lejos-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lejos-discussion

Reply via email to