Shop OBEX P1 Docs P2 Docs Learn Events
an unwanted symbol on my display — Parallax Forums

an unwanted symbol on my display

RobbanRobban Posts: 124
edited 2008-02-14 19:09 in BASIC Stamp
Hi!

I am trying to write my own charaters on my graphical vfd.
it is set up to first read what i want to write...and then change the chars to "mirrored" mode..
And when i just write one ,it works...but when i add additional chars there is a symbol over the first char that looks like an @.

here is my testprogram:

A VAR Byte
CHAR VAR Word

· test:
DATA "BC",0


printit:
··· DO
·· READ a, char
······ IF (char >= 32) AND (char < 127) THEN····· ' print only ASCII chars
······ DEBUG "A=", DEC A
······ GOSUB printvfd
··· ENDIF
··· a=a+1
···················· ' point to next
··· LOOP UNTIL (CHAR=0)
· END
·············· ' stop when 0 IS found
printvfd:
IF CHAR="B" THEN B
IF CHAR="C" THEN C
GOTO test

B:
DEBUG CHAR,CR
SEROUT 2,240,[noparse][[/noparse]$1A ,$40, $10, 10 ,10, $18, $08,$f,$11,$11,$f,$11,$11,$f]
PAUSE 500
RETURN

C:
DEBUG CHAR,CR
SEROUT 2,240,[noparse][[/noparse]$1A ,$40, $10, 20 , 10, $18, $08, $e, $11,$1, $1,$1, $11, $e]
PAUSE 500
RETURN
attaching the manual to my display also.
Sign In or Register to comment.