Grabs data received over a serial connection and outputs it.