chore: massive repo reorganization
This commit is contained in:
1 parent
33c42a120e
commit
f2d01e93a0
12 files changed
+730
-248
No files matched your search
+4
-8
@@ -2,18 +2,14 @@
|
||||
"""Receive LoRa packets and print them.
|
||||
|
||||
Usage:
|
||||
uv run examples/simple_rx.py [PORT]
|
||||
python examples/simple_rx.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