Ahhh, I figured out 1 way, Preload with dispVal = 10000. I watched it count up until it overflowed and the zeros remained. Are there better ways ?
Ahhh, I figured out 1 way, Preload with dispVal = 10000. I watched it count up until it overflowed and the zeros remained. Are there better ways ?
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
> Anyone got an idea how to force this code to display 4 digits all the time?
LCDOut DEC4 MyVar
>> Anyone got an idea how to force this code to display 4 digits all the time?
Just comment out this line ...Added: Or better yet, make it ...Code:; if dispVal < decade then blankItThen if you want leading zero's just set the bit.Code:LeadingZeros VAR BIT if (LeadingZeros = 0) AND (dispVal < decade) then blankIt
<br>
Last edited by Darrel Taylor; - 21st July 2007 at 11:48. Reason: Leading
DT
Thanks Melanie and Darrel,
That's 4 dirrerent ways - Great! It seems there is always more than 1 way.
JS
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Hi Guys/Ladies
would this only work with a serial lcd or can the same thing be done for a standard 4x20 Lcd?
Regards
Isaac
Oooh Thanks for that
just dont know how i missed that the serial lcd had been commented out and replaced with
Lcdout command
Silly me
Isaac
Bookmarks