Shop OBEX P1 Docs P2 Docs Learn Events
LCD custom characters — Parallax Forums

LCD custom characters

ArchiverArchiver Posts: 46,084
edited 2003-10-29 22:08 in General Discussion
Hi all,
I'm interested in creating my own characters for an LCD. I know
how to define the character, but I'm not sure how the code should be
typed in PBASIC in order to work. As an example, here's a sample
artwork. 0s are blank and 1s are filled in. For a 5x7 grid, the
example would be:

00011
00101
11001
10001
11001
00101
00011

Here's where I have the problem. According to the LCD manual,
defining this character would require text in this format:

SEROUT 0,16416,[noparse]/noparse]254,"N",[noparse][[/noparse]0x00][noparse][[/noparse]03,05,25,17,25,05,03,00

However, this code seems to give an error with the software.
The question is how am I suppose to format for defining a special
character and for using it later in the program.

Thanks for any help that anyone can give.

David

Comments

Sign In or Register to comment.