Well I did try.......
It was getting the LCD to output B0 as a DEC number (LCD location for the smiley) rather than just B0 that foxed me. I tried DEC B0 and a few other things ("."B0..."B0") but still no good. I think (and hope) I was on the right lines though.
Here's my attempt:
Code:
BO VAR BYTE 'BYTE 0 Sets position for CHAR 128...+19
LC var byte 'Loop_Count Counts 0 to 19 'positions' across display
LCDOut $FE,$60,$00,$0a,$0a,$00,$00,$11,$0e,$00 'Smiley Face
Pause 500
MAIN
For LC = 0 TO 19
PAUSE 500
LET BO = 128 + LC 'Start at LCD Top LHS then add 1 to move across display
LCDOUT $FE,1,B0,0 'Output the 'Smiley Face' at location B0
PAUSE 500
Next LC
GOTO MAIN
Dave
Bookmarks