How to convert int to string on Arduino?
Use like this:
String myString = String(n);
You can find more examples here.
use the itoa()
function included in stdlib.h
char buffer[7]; //the ASCII of the integer will be stored in this char array
itoa(-31596,buffer,10); //(integer, yourBuffer, base)