Well, you ran into a problem.Normally the sprintf() function would do this, but the Arduino does not have the floating point enabled for the sprintf() function.If you try this: https://gist.github.com/2343665 you will see that it prints a '?' for the sprintf() function.You could enable the floating point for sprintf: http://srejbi.info/posts/16_arduino-printf-scanf-floatsOr you could write your own code, like these:http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1164927646http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1207226548/11#11I hope someone else knows a better solution ...
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16