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:
Serial.print('0x',BYTE); Serial.print(myvar,BYTE); Serial.print(myvar,BYTE);
So is there a way to concatenate the value you send into one string?