append a float 2 a string?
i'm using one-wire temp sensor one-wire library(v2.0) , works fine. i'm trying show temp on serial 4-dig led display (sparkfun). problem need seperate decimal point float variable 1-wire library gives me. tried use string library's .append make string out of float, get:
error: call of overloaded 'append(float)' ambiguous.
i have send 4 bytes (1 each digit) display, actual values each digit or ascii char values numbers. display print blank dec.pt. or negative sign.
any suggestions on how convert float char string?
thanks,
dj
error: call of overloaded 'append(float)' ambiguous.
i have send 4 bytes (1 each digit) display, actual values each digit or ascii char values numbers. display print blank dec.pt. or negative sign.
any suggestions on how convert float char string?
thanks,
dj
can show code caused compile error?
do want display decimal point?
this thread migt worth reading: http://www.arduino.cc/cgi-bin/yabb2/yabb.pl?num=1200716061
do want display decimal point?
this thread migt worth reading: http://www.arduino.cc/cgi-bin/yabb2/yabb.pl?num=1200716061
Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > append a float 2 a string?
arduino
Comments
Post a Comment