This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import serial | |
import sys | |
import argparse | |
DEFAULT_DEVICE = "/dev/serial/by-id/usb-Raspberry_Pi_Pico_E662608797224B29-if00" | |
parser = argparse.ArgumentParser("OAT Command Script") | |
parser.add_argument("-d", "--device", help="Serial Device Port.", type=str) |