How do I convert an int, n, to a string so that when I send it over the serial, it is sent as a string?
n
This is what I have so far:
int ledP
use the itoa() function included in stdlib.h
itoa()
stdlib.h
char buffer[7]; //the ASCII of the integer will be stored in this char array itoa(-31596,buffer,10); //(integer, yourBuffer, base)