reformat HardwareSerial