float diff = 0;
const char* str[] = {"Err: ZPROBE: ",diff};
LCD_ALERTMESSAGEPGM(str);
With the code above I get I get this error. Anyone know how to create a single string from "Err: ZPROBE: "
and a (float) diff
?
exit status 1
cannot convert 'float' to 'const char*' in initializatio
Sorry should add that in the environment i'm using - 'string' : is not a member of 'std',
Ok now trying this
String str = String("Err: ZPROBE: " , diff);
but get this
call of overloaded 'String(const char [14], float&)' is ambiguous