I'm using a one-wire temp sensor with the one-wire library(v2.0) and everything works fine. I'm trying to show the temp on a serial 4-dig LED display (sparkfun). The problem is I need to seperate the decimal point from the float variable the 1-wire library gives me. I tried to use the string library's .append to make a string out of the float, but I get:
error: call of overloaded 'append(float)' is ambiguous.
I have to send 4 bytes (1 for each digit) to the display, as the actual values for each digit or ASCII char values for the numbers. My display will print a blank for the dec.pt. or a negative sign.
Any suggestions on how to convert a float to a char string?