wildbill:
The version of sprintf that the arduino uses does not support floats to reduce the amount of memory the library consumes.
so maybe???
char tBuffer[5];
float temp = 15.2304;
int x = int(temp);
sprintf(tBuffer, "%4d", x);
wildbill:
The version of sprintf that the arduino uses does not support floats to reduce the amount of memory the library consumes.
so maybe???
char tBuffer[5];
float temp = 15.2304;
int x = int(temp);
sprintf(tBuffer, "%4d", x);