All,
I am using a 16F628 which AFAIK doesnt have the ability to store Data values.
So I need to store every chariotor as an array of bytes.
Im taking serial in then setting the chr and running this section.
I know this is not the best way of doing it. Please advise a better or best practice way of doing such an operation.
PrintChr:
SELECT CASE chr
CASE " "
for i2=0 to 4
LOOKUP2 i2,[$00,$00,$00,$00,$00,$00],glcd_dat
GoSub send
Next
CASE "M"
for i2=0 to 4
LOOKUP2 i2,[$7F,$02,$0C,$02,$7F,$00],glcd_dat
GoSub send
Next
CASE "e"
for i2=0 to 4
LOOKUP2 i2,[$38,$54,$54,$54,$18,$00],glcd_dat
GoSub send
Next
CASE "h"
for i2=0 to 4
LOOKUP2 i2,[$7F,$08,$04,$04,$78,$00],glcd_dat
GoSub send
Next
END SELECT
' Add space after
glcd_dat = $00
GoSub send
RETURN
Thanks
Bookmarks