The LCD library I'm using won't print floats.
The LCD library I'm using won't print floats. I need to pass in a character array.
I used dtostrf to pass an integer to a routine I wrote.
What would you use to tun an int into char array? I'm guessing there is itostrf, I didn't bother checking as this worked, and it was 4am, I was grumpy and I was calling this a win.
I have never been able to understand why there has ever been a need for this float to string conversion stuff, or why anybody thinks they need it now. I can only assume it is some nasty legacy from the past when Arduino was incapable of handling floats.
Quote from: jimLee Wed Feb 08 2017 04:21:34 GMT+0100 (Central European Standard Time)Umm, you do realize your answering a question that was asked 2-3 years ago, right?-jim lee