Hello:
I need to print in a LCD this text "200 %4.1f\xD2C" but \xD2C give error. \xD2 is the grad simbol and C for Centigrad. CW meens that \xD2C is an hex number and get error. If I print "\xD2 C" solve the problem, but I must eliminate de space caracter. I have tested with "\xD2""C" but that get "concatenation worning" and compile.
Please can any solve this problem ??
Thanks
Jorge Migiel Dhios
Quick and (very) ugly solutions:
- use two printf's without \n or other esc chars between;
- strcpy the entire output msg in a string and print it out;
- strcpy just the \xD2C as it gets into a string...
Don't ask about optimizations on size and speed...
Regards