Nono 33 IOT: how to find dtostrf.h?

The function dtostrf(...) is not known by the compiler without an #include(...)
But what must be the content of the include?
I have used
#include <avr/dtostrf.h>
because in the folder
...\Arduino15\packages\arduino\hardware\samd\1.8.4\cores\arduino\avr
there is a pair dtostrf.cpp and dtostrf.h.

May be this is helpful for other users, because the Nano 33 IOT does not know the Serial.printf(..), so dtostrf may be used to format float / double values.

1 Like

Thanks! This helped me on my nano33IOT

To clarify for others: On the Arduino Nano 33 IoT, you must include:

#include "avr/dtostrf.h"

1 Like

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.