DARREL TAYLOR,
I don't say "Make me a program" !
I say "You forget vertical bargraph" for a coplete "demo software"
That's my opinion. I don't need your software ! I make my own !
Don Mario
DARREL TAYLOR,
I don't say "Make me a program" !
I say "You forget vertical bargraph" for a coplete "demo software"
That's my opinion. I don't need your software ! I make my own !
Don Mario
Perfect!I make my own !
That's what we do here. Offer examples and assistance, so that others can write thier own programs. But the real question is, What will you do with your program when you're finished.
Will you look at it and say, Hey that's pretty good, I'm not giving it out to anyone for free. Or, will you post it here for others to look at and say it's not good enough.
I guess time will tell.
<br>
DT
Darrel,
I just modified you include file by replacing the word "LCDOut" with "debug" and it almost appears to work. The problem though is that I'm using a 4x20 LCD and it appears the program thinks there is a 16 character LCD pluggeding in because it starts line 2 at postion 17 and starts line 4 at position 17 on line 2. Any thoughts one this?
I knew that was going to come back and bite me in the assparagus.
With 4x20 displays, line 3 and 4 start at $94 and $D4. I was going to add an option that made the change for you, but forgot about it.
In the ShowBAR: routine, you can change this line ...
<pre><b> LOOKUP BAR_row,[$80,$80,$C0,$90,$D0],BARtemp</b></pre>to this ...
<pre><b> LOOKUP BAR_row,[$80,$80,$C0,$94,$D4],BARtemp</b></pre>and it should work better. Sorry!
<br>
DT
Or, better yet ... there's thisThen in your main program you can just do this when using a 4x20 LCDCode:@ ifdef LCD4X20 LOOKUP BAR_row,[$80,$80,$C0,$94,$D4],BARtemp @ else LOOKUP BAR_row,[$80,$80,$C0,$90,$D0],BARtemp @ endifI've also made the change to the original attachment above.Code:DEFINE LCD4X20 1
Thanks for pointing it out CocaColaKid!
<br>
DT
Glad I could be of service since you've done such a nice job with the code the least I could do was help debug it![]()
Hi Darrel
Can you please make Vertical_LCDBar.INC like that Horizontal_LCDBar.INC.
Thanks in advance
Bookmarks