It HAS to work (for him, and everyone else) as this way the value is send as a formatted string! And the dtostrf is the only function (or am I wrong?) supported on Arduino ide to do it. Unfortunately printf()
does not work with floats by default in Arduino IDE. I’m using dtostrf()
too, though would prefer printf()
1 Like