I have the same problem too. The arduino IDE is the 1.5.1r2 with the Arduino due doesn't recognize the 'dtostrf' function .
Is there any solution for this?
You might try to find the library containing the function and put it in the #include section. I've tried it with other functions using the complete path and it still doesn't see it. Even the math.h file is not found. There appears to be a serious path problem with this version of the IDE. Not sure what your function does but sprintf() may work in it's place. It worked nicely for my application.
I added #include <dtostrf.h> to my code for Arduino DUE but no work. Then I search a solution from C/C++ text book that is about write your function and including.I was found the core folder and seem missing dtostrf.h. So i trial re-add the file and compiled...........OK :P.
That have been solved by adding header file #include <avr/dtostrf.h> to WString.h file.
Path: \arduino-1.5.6-r2\hardware\arduino\sam\cores\arduino
nestachan:
I added #include <dtostrf.h> to my code for Arduino DUE but no work. Then I search a solution from C/C++ text book that is about write your function and including.I was found the core folder and seem missing dtostrf.h. So i trial re-add the file and compiled...........OK :P.
That have been solved by adding header file #include <avr/dtostrf.h> to WString.h file.
Path: \arduino-1.5.6-r2\hardware\arduino\sam\cores\arduino