CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

OT - Thought you guys might like this

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Gabriel



Joined: 03 Aug 2009
Posts: 1067
Location: Panama

View user's profile Send private message

OT - Thought you guys might like this
PostPosted: Wed Oct 16, 2013 10:41 am     Reply with quote

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

View user's profile Send private message

PostPosted: Wed Oct 16, 2013 1:55 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Wed Oct 16, 2013 2:23 pm     Reply with quote

Isn't that wicked?
_________________
CCS PCM 5.078 & CCS PCH 5.093
Ttelmah



Joined: 11 Mar 2010
Posts: 19552

View user's profile Send private message

PostPosted: Wed Oct 16, 2013 11:24 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Thu Oct 17, 2013 8:23 am     Reply with quote

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

View user's profile Send private message

PostPosted: Thu Oct 17, 2013 9:00 am     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group