Hi all, im newish to arduino and for the life of me cannot get this to work.
Ive worked quite a bit on my project now and all im trying to do is print a number + string to the LCD screen.
The number is an int and upto now all ive done is lcd.print(numberVar+" string")
But instead now i want the string to be a variable, but i cannot get it to compile.
Ive tring char,char* & string to declare the string. but all i get is:
invalid operands of types 'const char*' and 'char ' to binary 'operator+'
the above error is with the string declared as:
char currentUnit = "C";
and the lcd print as:
if i change the lcd print to: lcd.print(currentVal+" C"); it works fine?
what am i doing wrong?