chore: massive repo reorganization
This commit is contained in:
17678 files changed
+5555
-4565083
No files matched your search
@@ -2,18 +2,14 @@
|
||||
"""Exercise every DongLoRa command to verify the API works.
|
||||
|
||||
Usage:
|
||||
uv run examples/all_commands.py [PORT]
|
||||
python examples/all_commands.py [PORT]
|
||||
"""
|
||||
# /// script
|
||||
# requires-python = ">=3.10"
|
||||
# dependencies = ["cobs", "pyserial"]
|
||||
# ///
|
||||
|
||||
import serial
|
||||
import sys
|
||||
|
||||
sys.path.insert(0, __import__("pathlib").Path(__file__).parent.as_posix())
|
||||
import donglora as dl # noqa: E402
|
||||
import serial
|
||||
|
||||
import donglora as dl
|
||||
|
||||
try:
|
||||
ser = dl.connect(sys.argv[1] if len(sys.argv) > 1 else None)
|
||||
|
||||
Reference in new issue
Block a user