View previous topic :: View next topic |
Author |
Message |
Gabriel
Joined: 03 Aug 2009 Posts: 1067 Location: Panama
|
OT - Thought you guys might like this |
Posted: Wed Oct 16, 2013 10:41 am |
|
|
Hey Guys,
This is NOT my work...
We need to port this to CCS!
http://www.freewebs.com/defxev/LC2D.htm
Holy crap...
G.
EDIT: feel free to remove this if it violates any rules...
i just thought it was awesome and it be cool for others to know about. _________________ CCS PCM 5.078 & CCS PCH 5.093 |
|
|
gpsmikey
Joined: 16 Nov 2010 Posts: 588 Location: Kirkland, WA
|
|
Posted: Wed Oct 16, 2013 1:55 pm |
|
|
Now THAT is an LCD driver. Clearly he has figured out ways to talk to the display. I agree with getting that ported to here would be cool.
mikey _________________ mikey
-- you can't have too many gadgets or too much disk space !
old engineering saying: 1+1 = 3 for sufficiently large values of 1 or small values of 3 |
|
|
Gabriel
Joined: 03 Aug 2009 Posts: 1067 Location: Panama
|
|
Posted: Wed Oct 16, 2013 2:23 pm |
|
|
Isn't that wicked? _________________ CCS PCM 5.078 & CCS PCH 5.093 |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19552
|
|
Posted: Wed Oct 16, 2013 11:24 pm |
|
|
Problem is that it won't do anything very useful. Remember how few characters can be user defined. You will note that the same display is repeated multiple times across the screen, because this is all that can be done...
Best Wishes |
|
|
Gabriel
Joined: 03 Aug 2009 Posts: 1067 Location: Panama
|
|
Posted: Thu Oct 17, 2013 8:23 am |
|
|
I believe in this particular case what is happening is that the custom buffer gets re written with every display, in esence expanding the custom character buffer into the PIC.
so its not limited to the custom characters allowed to be stored in the LCD but in the PIC which is quite larger....
... i believe the reason it repeats its because he just didnt code more screens...
g. _________________ CCS PCM 5.078 & CCS PCH 5.093 |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19552
|
|
Posted: Thu Oct 17, 2013 9:00 am |
|
|
No matter how many characters you have coded in the PIC, the number that can be displayed at one time is limited by the hardware of the LCD. The CGRAM, only has a 6bit address send-able to it, so just 8 characters can be defined. If you look at the displays, this is the number of special characters used in each....
Best Wishes |
|
|
|