example using goserial(for COM port)