Graphics Demo on LCD Module :)
Rayman
Posts: 14,600
Check it out!· I just got the Graphics Demo to run on my little Prop Powered LCD module:
(It's more work than you might think!)
Here's a link to a video of the board running the Graphics Demo:
http://www.rayslogic.com/propeller/Products/PropTft1/GDemo1.wmv
It's a hair slower than on TV because the bitmap is bigger, 20x15 tiles instead of just 16x12...
Post Edited (Rayman) : 2/14/2009 6:46:43 PM GMT
(It's more work than you might think!)
Here's a link to a video of the board running the Graphics Demo:
http://www.rayslogic.com/propeller/Products/PropTft1/GDemo1.wmv
It's a hair slower than on TV because the bitmap is bigger, 20x15 tiles instead of just 16x12...
Post Edited (Rayman) : 2/14/2009 6:46:43 PM GMT
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve
This one is also a QVGA display, but a hair bigger...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
Besides, I'm not even sure I'll end up using this particular one.· This is just one I could lay my hands on in low quantity.· But, there are many suppliers of TFT displays that are nearly identical.
One huge advantage in doing a display this way (I mean directly to an LCD instead of to TV or VGA) is that the GRAM of the LCD driver takes the place of the graphics buffer.
For example, this Graphics Demo needs two bitmap buffers, each taking up 12 kB. So, you're only left with 8 kB for your program, which as many people have discovered, just isn't enough to do much...
But, with this Prop-powered LCD module, you only need one 12 kB buffer to do the same thing. This gives you 20 kB for you program, which is a vast improvement.
12k is for 256x192 though, and your LCD is 320x240, no?
19k instead of 12k...
ps. Rayman how long does it take to send the display?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
I hope to post a video today...
Any idea when you'll have the kit ready? I'll have one.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
I've put a new video of this windowed mode here:
http://www.rayslogic.com/propeller/Products/Products.htm
·
I feel a CP/M note book coming on!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
For me, the past is not over yet.
However, it's always possible to implement scrolling to allow for more columns...
When you the main loop "kicks" the LCD driver to update the LCD the main loop has to pause there and wait for the LCD to be updated before it clear the ram and draws the next frame, right?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Timothy D. Swieter, E.I.
www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, uOLED-IOC, eProto for SunSPOT, BitScope
www.tdswieter.com
You're right about the cogs.
The second question is a bit more complicated... I didn't want to wait before erasing the old bitmap. The LCD is updated by columns, and the graphics clear command clears by rows, so there was a confict... So, the LCD driver updates the LCD and clears the old bitmap at the same time. the gr.clear command is just commented out...