Skip to content

Instantly share code, notes, and snippets.

View ilonajulczuk's full-sized avatar

Justyna Ilczuk ilonajulczuk

View GitHub Profile
import serial
import argparse
parser = argparse.ArgumentParser()
parser.add_argument("-p", "--port", type=str,
help="name of port",
default='/dev/ttyUSB0')
parser.add_argument("-o", "--output_filename", type=str,
help="filename of output file",