Added code to output \r on the serial port after every \n