If you have ever tried to use sprintf() on an Arduino to convert from a float to a string, you will notice it doesn’t work.
1 2 3 |
sprintf(buf,"%f", floatvar); |
The above function will most likely return a “?” to your char buffer. If you google around, you’ll see various functions that people have written to overcome this, but all of … Read More →