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

Custom characters on LCD screen?

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







Custom characters on LCD screen?
PostPosted: Tue Jan 22, 2013 4:03 pm     Reply with quote

I've been working with LCD screens for awhile now doing the regular numbers and letters. But, has anybody ever done custom characters on an numeric LCD screen?
If so, can you share your code please? Smile Smile
Mike Walne



Joined: 19 Feb 2004
Posts: 1785
Location: Boston Spa UK

View user's profile Send private message

PostPosted: Tue Jan 22, 2013 5:24 pm     Reply with quote

I assume you mean 7*5 LCD display.

This link gets you part way there.

http://www.ccsinfo.com/forum/viewtopic.php?t=47307&start=0&postdays=0&postorder=asc&highlight=horse

Yes. It can be done, easy enough, just a bit tedious.

Mike
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Jan 22, 2013 5:31 pm     Reply with quote

Use the search page to search for: custom lcd characters
http://www.ccsinfo.com/forum/search.php
Set it to: Search for all terms
Here's another example:
http://www.ccsinfo.com/forum/viewtopic.php?t=40565
tall_fn
Guest







PostPosted: Tue Jan 22, 2013 6:16 pm     Reply with quote

Alright cool!
as for the connections to the LCD screen, am I still going to be using four bits?
temtronic



Joined: 01 Jul 2010
Posts: 9243
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Tue Jan 22, 2013 7:16 pm     Reply with quote

You can use 4 bits if you want, though 8 bit mode is technically faster.

While 8bit mode requires 4 more I/O pins, it is faster and reduces code space so a PIC with less memory could be used which might save a few pennies.

TOO many details aren't known..like... is this an existing board? is a unique PIC mandated for the task? already have code cut and it's just an pin compatable LCD upgrade? time to market? These 'details' only you know and have to weigh but the general thought on this forum would probably be to stick with 4bit mode( though I like 8 bits better)

hth
jay
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Jan 22, 2013 7:57 pm     Reply with quote

Read Ttelmah's comments on 4-bit vs. 8-bit mode for the lcd interface:
http://www.ccsinfo.com/forum/viewtopic.php?t=49607
tall_fn
Guest







PostPosted: Tue Jan 22, 2013 7:57 pm     Reply with quote

HEY I GOT IT TO WORK! Very Happy Very Happy Very Happy Very Happy

I'm messing around with the up arrow, down arrow, degree program right now trying to better understand how it is working.
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