turned output into a string with the format to be inputted into arduino.