View previous topic :: View next topic |
Author |
Message |
Ringo42
Joined: 07 May 2004 Posts: 263
|
Displaying large numbers on 2 or 4 line LCD |
Posted: Thu Dec 09, 2010 2:12 pm |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
temtronic
Joined: 01 Jul 2010 Posts: 9173 Location: Greensville,Ontario
|
|
Posted: Thu Dec 09, 2010 2:16 pm |
|
|
You could adapt Scott Edward's BASIC program(www.seetron) that he created for serial LCDs about a decade ago... |
|
![](templates/subSilver/images/spacer.gif) |
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
![](templates/subSilver/images/spacer.gif) |
Ringo42
Joined: 07 May 2004 Posts: 263
|
|
Posted: Thu Dec 09, 2010 2:25 pm |
|
|
As far as I know his source is not available, unless it is somewhere on his site and I missed it. _________________ Ringo Davis |
|
![](templates/subSilver/images/spacer.gif) |
Ringo42
Joined: 07 May 2004 Posts: 263
|
|
Posted: Thu Dec 09, 2010 2:28 pm |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
temtronic
Joined: 01 Jul 2010 Posts: 9173 Location: Greensville,Ontario
|
|
Posted: Thu Dec 09, 2010 3:01 pm |
|
|
ok... google 'big_nums.bs2' for Scott's program...
yeesh..it dates back to mid 90s !!! |
|
![](templates/subSilver/images/spacer.gif) |
bkamen
Joined: 07 Jan 2004 Posts: 1611 Location: Central Illinois, USA
|
|
Posted: Thu Dec 09, 2010 4:34 pm |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
|