Hi again !
I found a small example of a bargraph that i can make working with the demo version. I can't include Darrel's include...
It works OK, and i could modifiy it to my needs, i understood almost all the code except the method used to store in the CGRAM :
Lcdout $FE,64,0,0,0,0,0,0,0,0 ' blank
Lcdout $0,$10,$10,$10,$10,$10,$10,$0 ' |
Lcdout $0,$14,$14,$14,$14,$14,$14,$0 ' ||
Lcdout $0,$15,$15,$15,$15,$15,$15,$0 ' |||
Following the different other codes i've found, i would have done it this way :
lcdout $FE,$40,$00,$00,$00,$00,$00,$00,$00,$00
lcdout $FE,$48,$10,$10,$10,$10,$10,$10,$10,$00
lcdout $FE,$50,$14,$14,$14,$14,$14,$14,$14,$00
lcdout $FE,$58,$15,$15,$15,$15,$15,$15,$15,$00
or for last line lcdout $FE,$58,REP $15\7,$00
How is the 1st method working ??
BTW what does LCDOUT $FE,$CE make ?
also LCDOUT $FE,$80+1 would move the cursor to first line second character ?
FYI, i changed from the "other" compiler to MELabs one.... ;-)
Greetings,
Bookmarks