Arduino sprintf float not formatting
Due to some performance reasons %f is not included in the Arduino’s implementation of sprintf(). A better option would be to use dtostrf() – you convert the floating point value to a C-style string, Method signature looks like: char *dtostrf(double val, signed char width, unsigned char prec, char *s) Use this method to convert it … Read more