So then are you going to use a graphics display rather than a text type LCD? Or do you intend to use simple characters like in mackracket's post? Look at this:
http://www.sparkfun.com/commerce/pro...oducts_id=8358
JS
So then are you going to use a graphics display rather than a text type LCD? Or do you intend to use simple characters like in mackracket's post? Look at this:
http://www.sparkfun.com/commerce/pro...oducts_id=8358
JS
Last edited by Archangel; - 1st October 2007 at 06:02.
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 Silvio,
I should have explained what I was getting at. You can use custom characters for animation.
Here is an example of a smiley rolling right and left on an eight segment display.
The first part is a long way to write the code but you can see what is going on. (going right)
The second part is shortened up a bit. (going left)
Code:CNT VAR BYTE 'DUMMY COUNT VAR PL VAR BYTE 'POSITION VAR CH VAR BYTE 'CHARACTER VAR LCDOUT $FE,$40,$00,$0A,$0A,$00,$00,$11,$0E,$00 ' Cust Char #0 LCDOUT $FE,$48,$00,$08,$13,$10,$13,$08,$00,$00 ' Cust Char #1 LCDOUT $FE,$50,$0E,$11,$00,$00,$0A,$0A,$00,$00 ' Cust Char #2 LCDOUT $FE,$58,$00,$02,$19,$01,$19,$02,$00,$00 ' Cust Char #3 PAUSE 200 DISPLAY: 'THE LONG WAY. EACH COSTOM CHARACTER DISPLAYED_ 'IN A NEW CELL GOING RIGHT PAUSE 250 LCDOUT $FE,1 LCDOUT $FE,$80,0 PAUSE 250 LCDOUT $FE,1 LCDOUT $FE,$81,1 PAUSE 250 LCDOUT $FE,1 LCDOUT $FE,$82,2 PAUSE 250 LCDOUT $FE,1 LCDOUT $FE,$83,3 PAUSE 250 LCDOUT $FE,1 LCDOUT $FE,$84,0 PAUSE 250 LCDOUT $FE,1 LCDOUT $FE,$85,1 PAUSE 250 LCDOUT $FE,1 LCDOUT $FE,$86,2 PAUSE 250 LCDOUT $FE,1 LCDOUT $FE,$87,3 PAUSE 250 LCDOUT $FE,1 LCDOUT $FE,$88,0 '################ 'NOW TO SAVE A LITTLE CODE SPACE_ 'WILL ROLL BACK TO START PL = $88 CH = 3 FOR CNT = 1 TO 8 PL = PL - 1 CH = CH - 1 PAUSE 100 LCDOUT $FE,1 LCDOUT $FE,PL,CH IF CH = 0 THEN CH = 3 NEXT '###### 'MUCH SHORTER GOTO DISPLAY END
Dave
Always wear safety glasses while programming.
I'll second the GLCD suggestion as long as you can't deal with the regular character LCD limitations.
Sure PBP command set don't support any GLCD type. You'll need to create your own GLCD driver. Sure it's not a really easy task, but once you have it, the whole thing look by far better than a simple character type LCD.
You may want to have a look at the followings...
http://www.compsys1.com/workbench/On...3C/t6963c.html
http://www.compsys1.com/workbench/Be...0/sed1330.html
http://www.compsys1.com/workbench/On...ontroller.html
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks