I am a noob to the Arduino, but not to C. I was attempting to use the floatToString function (see playground), but it bombs on the itoa() function, which is in the stdlib.
I tried a "#include <stdlib.h>" but that doesn't work.
So what do I need to do to use this function? :-?
Larry, when I incorporate the body of floatToString() in my sketch it compiles fine.
char * floatToString(char * outstr, float value, int places, int minwidth=0, bool rightjustify=false) {...} void setup() { char buf[100]; floatToString(buf, 100.23, 2); } void loop(){}