Skip to content

Instantly share code, notes, and snippets.

@soulen3
soulen3 / oat_helper.py
Last active May 20, 2025 22:17
Send Serial Commands to OAT
#!/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)