I'm working on a project using an Arduino and as such, I'm reading from a serial port (which sends ints). I need to then write this serial communication to an LCD, which takes a char*.
I need to read several characters from the serial port (2 integers) into a string. After both have been received, I then need to clear the string to prepare for the next two characters.
tl;dr: How do I append an int to a char*, then clear the string after it has 2 characters?