Added sending of the inputs back through the serial port.