Files
pybricks-api/examples/pup/remote/use_name.py
T
Laurens Valk bd7806d2d4 all: Format with black.
Also activate auto formatting. Bump flake8 and mark black
disagreements in setup.cfg.
2022-05-27 16:22:05 +02:00

10 lines
188 B
Python

from pybricks.pupdevices import Remote
from pybricks.tools import wait
# Connect to a remote called truck2.
truck_remote = Remote("truck2", timeout=None)
print("Connected!")
wait(2000)