greetings from australia :-)
i'm currently having some troubles setting custom characters on my newly acquired LCD (which i'm very happy with, otherwise). the problem seems to be with specifying 10 (0x0A) as one of the bytes.
other numbers work - 8 yields a single dot, for instance, and 9 works as expected, too. but specifying 10 seems to give weird pixels on the row i'm trying to set, and gives me the correct pixels on the row below.
.. is this a known bug, or is there something i've missed?
thanks in advance :-)
- damien
custom character weirdness on a 402-12
-
- -=Beloved by all=-
- Posts: 286
- Joined: Tue Aug 14, 2001 6:00 pm
- Location: ...I could tell you my velocity...
I believe that you will find that this is compiler wierdness. the 10 (0x0A) is being interpreted as a carriage return. This problem is common (from what I can tell) in Linux, MS PERL, and BASIC. You must find some way of making the compiler stop trying to be smart about it. Try sending it raw without using any formatted output functions.