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 support@ccsinfo.com

Displaying large numbers on 2 or 4 line LCD

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



Joined: 07 May 2004
Posts: 263

View user's profile Send private message

Displaying large numbers on 2 or 4 line LCD
PostPosted: Thu Dec 09, 2010 2:12 pm     Reply with quote

I'm considering a project that will have an LCD display, either 2 line or 4 line. What I would like to do is when setting up the unit the LCD will act like a regular lcd (using flex_lcd), but when idle it will display the time in big numbers like an alarm clock. Has anyone done anything like this before? I guess I could build a boatload of custom characters for the top and bottom of each number, but that would take forever. There must be a better way, any thoughts?

Thanks
Ringo
_________________
Ringo Davis
temtronic



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

View user's profile Send private message

PostPosted: Thu Dec 09, 2010 2:16 pm     Reply with quote

You could adapt Scott Edward's BASIC program(www.seetron) that he created for serial LCDs about a decade ago...
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Dec 09, 2010 2:24 pm     Reply with quote

See BPP-420L on this page:
http://www.seetron.com/slcds.htm

Another example of large chars built from several custom chars:
http://www.modtronix.com/product_info.php?products_id=274
Ringo42



Joined: 07 May 2004
Posts: 263

View user's profile Send private message

PostPosted: Thu Dec 09, 2010 2:25 pm     Reply with quote

As far as I know his source is not available, unless it is somewhere on his site and I missed it.
_________________
Ringo Davis
Ringo42



Joined: 07 May 2004
Posts: 263

View user's profile Send private message

PostPosted: Thu Dec 09, 2010 2:28 pm     Reply with quote

Yes that is exactly what I want to do, but without buying a $40 serial LCD. I want to make sure there is not code out there (like flexlcd) before I start defining a bunch of custom characters.
Ringo
_________________
Ringo Davis
temtronic



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

View user's profile Send private message

PostPosted: Thu Dec 09, 2010 3:01 pm     Reply with quote

ok... google 'big_nums.bs2' for Scott's program...

yeesh..it dates back to mid 90s !!!
bkamen



Joined: 07 Jan 2004
Posts: 1611
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Thu Dec 09, 2010 4:34 pm     Reply with quote

Building the custom block chars isn't all that hard.

I think I have an HD44780 setup someplace for making a lock/unlock, target symbol for an LCD in C.

Let me know if you want it,

-Ben
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
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