Graphics and LCDC...
-
- LCD!
- Posts: 19
- Joined: Sat Jan 04, 2003 9:41 am
- Contact:
Graphics and LCDC...
Ok how do i use LCDC to bring up graphics to the screen? (i have a GLK12232 by the way). Currently i load them to the LCD using MOGD then call them using the [##254][##98][##2][##0][##0] command (i think that's it anyway) and when i do this and the graphic is say a full screen one i get problems... ie. it flashes when the display refreshes.
I am entering this into the first line on an LCDC screen... is this right?
Please help!
Thanks
I am entering this into the first line on an LCDC screen... is this right?
Please help!
Thanks
BTW try http://lcdc.planetdps.com/downloads/other/LCDG-mmm.zip for uplading font/graphics to your screen
much better then Mogd imo (but I wrote it!) I've not had any issues with freezing though - do you have the correct definition file in there as it uses flow control to talk to the screen. If this is turned off it can cause problems.

yep im using the correct definition file ....
And only tried turning flow control off to test if it would be the same problem as on my noritake VFD .... but flow control is hardware on that one while its software on the MO ....
could it be my serial controller that has a problem ?
I'm using an MSI K7T266Pro2-RU running WinXP pro
And only tried turning flow control off to test if it would be the same problem as on my noritake VFD .... but flow control is hardware on that one while its software on the MO ....
could it be my serial controller that has a problem ?
I'm using an MSI K7T266Pro2-RU running WinXP pro
what are those two settings ? where do i set them ?mat-d-rat wrote:You need to use the "Line Alignment" "Non-Skip line" or it will try and draw spaces over it.
Also about the backlight off not working ... just noticed if i use "DSP->Process commands" and then BacklightOff it doesnt work. While using "DSP->Backlightoff" it works .... I really dont understand whats going wrong here
OK just being dumb right now ... though that skip line was 4 me ... obviously is for the guy asking on how to display graphs ...
Thought it was 4 me since my display suddenly started skipping a line displaying my line 4 data on line 3 ... That actually seemed to be due to my trying to upload fonts w/ lcdg-mmm .... reuploaded the fonts w/ mogd and it doesnt skip lines anymore .....
doesnt seem to freeze anymore either .... wtf went wrong i dunno
I'm still getting some weird stuff w/ bargraphs though .... Vertical Bars im using (on a 3line high graph) are not full columns horizontally ... each bar missed a pixel on the right hand side between every line ...also all bars are 5 pixels wide but the last 1 .... looks like theres a | seperator between each bar actually .... any idea ?
1 bar (just 2 caracters high .. data not big enough to fill 3 caracters height) could be represented like this:
**** top of bar (3rd line of display)
***** -------------
****
***** bottom of bar (4th line of display)
*****
*****
*****
*****
*****
*****
damned the thing just froze again
Thought it was 4 me since my display suddenly started skipping a line displaying my line 4 data on line 3 ... That actually seemed to be due to my trying to upload fonts w/ lcdg-mmm .... reuploaded the fonts w/ mogd and it doesnt skip lines anymore .....
doesnt seem to freeze anymore either .... wtf went wrong i dunno
I'm still getting some weird stuff w/ bargraphs though .... Vertical Bars im using (on a 3line high graph) are not full columns horizontally ... each bar missed a pixel on the right hand side between every line ...also all bars are 5 pixels wide but the last 1 .... looks like theres a | seperator between each bar actually .... any idea ?
1 bar (just 2 caracters high .. data not big enough to fill 3 caracters height) could be represented like this:
**** top of bar (3rd line of display)
***** -------------
****
***** bottom of bar (4th line of display)
*****
*****
*****
*****
*****
*****
damned the thing just froze again

I tried that but I might not be doing it right - the graphic I'm trying to use is full screen. (this one)mat-d-rat wrote:You need to use the "Line Alignment" "Non-Skip line" or it will try and draw spaces over it.
When I display it, I put the code on the 1st line, and tell the other 3 lines to "skip this line" - that works fine, but the 1st line still blinks.
Now if I tell the 1st line to also be skipped, the graphic is skipped entirely and the next screen comes up.
-=:: Deus Ex Machina ::=-
or u can draw the picture w/ an on b4 screen event and just dont draw anything w/ the screen ... thats what i used to do on my vfd, but using a caracter unknown to the display [##200] in place of every caracter displayable on the screen in the different lines .... that stopped lcdc from drawing spaces over the graph, could have just made it skip line.
So basically id try and draw it totally w/ an on b4 screen event ...
So basically id try and draw it totally w/ an on b4 screen event ...
-
- LCD!
- Posts: 19
- Joined: Sat Jan 04, 2003 9:41 am
- Contact:
-
- LCD!
- Posts: 19
- Joined: Sat Jan 04, 2003 9:41 am
- Contact:
Also for when winamp starts to play i want it to bring up the winamp plugin (interupt the other screens), this i can do... but i want to have a momentry image there for 3 secs... this i can also do... however(!) when i stop winamp it doesn't carry on and unlock from the group... it just stays on the winamp screen.
Any ideas?
Any ideas?