How do you send a space to the LCD? In fact, How do you send any character to the LCD? keep in mind, I don't think the number 3 is the same as "3". The number 3 is an interger, and "3" is a string. I assume the string is really converted to its UNICODE equal. So I THINK (i am not sure) these would be 2 different arrays:
Code:
t(0)=1
t(1)=3
t(2)=9
t(0)="1"
t(1)="3"
t(2)="9"
the problem you are facing, is there is NO integer space. there are only numbers 0-infinety. BTW there is also no n. the target after 9. So it should be as big a problem as the space if you are using an array of intergers.
If you use an array of strings, each element is only 1 charater big, the space is no problem. It sounds to me like you are trying to mix numbers and strings. That is a big NO-NO!
If you can post some or all of your code, I may understand better. I have no inclination to write it for you (and I don't think you want me to), but I find I am having trouble figuring out how to make sense to you.
maybe just post the array and the LCD update part. Or get the LCD part number from your dad so I can look at the data sheet and understand how to talk to it. Or better yet, attach the datasheet here.
Bookmarks