Writing to a serial connected arduino