nerdboy64

I bought an lcd from sparkfun and am using it to make a primitive game system. The thing is, the controller I'm using outputs a decimal number, and the lcd talks in hex. I managed to convert the numbers to hex all right, but my function creates two separate 'char' variables. Unfortunately, it won't work when I send this:

nerdboy64

I already put the values into an array like Groove said, but my question was not how to contain the values together, but rather how to print all of those values in the same Serial.print() command. It's because my LCD doesn't understand if the values are sent separately, like did in my first example. I'm also sure it won't work if I do Serial.print(myvar[0-3], BYTE) because it would think I'm trying to say Serial.print(myvar[-3],BYTE).

"Pete, it's a fool (who) looks for logic in the chambers of the human heart." Ulysses Everett McGill.Do not send technical questions via personal messaging - they will be ignored.I speak for myself, not Arduino.

"Pete, it's a fool (who) looks for logic in the chambers of the human heart." Ulysses Everett McGill.Do not send technical questions via personal messaging - they will be ignored.I speak for myself, not Arduino.

nerdboy64

All right. I knew I made a mistake somewhere, but I couldn't figure out what it was. I'm still somewhat new to Arduino and this project is slightly more advanced than I'm used to. Anyway, I can't seem to get it to work, so I need some non-crappy code that will get this thing up-and-running. Can anyone help... again? The code is the same as my previous post.

"Pete, it's a fool (who) looks for logic in the chambers of the human heart." Ulysses Everett McGill.Do not send technical questions via personal messaging - they will be ignored.I speak for myself, not Arduino.

"Pete, it's a fool (who) looks for logic in the chambers of the human heart." Ulysses Everett McGill.Do not send technical questions via personal messaging - they will be ignored.I speak for myself, not Arduino.