The sprintf used by the AVR's does not have float support, or many other sprintf features.
Here is a library I'm working on at the moment, there is a working 'GString' library which contains an sprintf function: String/sprintf alternative for Arduino.
However this requires the Print library, which you'll have if you use the Arduino core.
Than you very much, it's exactly that I was looking for!
Very beautiful work, my compliments.
I thank you very much.
At the first test it seems to work very well.
Best regards.
Davide
Oops, I just realized now that I had made ??a mistake and had not included your library but I printed an integer with sprintf of atmel, that's why it seemed to work!
I was too tired when I took the test.
when I have time I'll try again including your library. Thanks again and sorry for the error.
Davide
No worries, there shouldn't be problems as the version you have does not include the eeprom or progmem code. I'm working on a print library extension that allows Serial.printf(). It is only AVR compatible at the moment as I build the functionality, but eventually I can mask off the AVR only bits and I'll have support for the Due as well.