mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-11 17:14:41 +00:00
Also activate auto formatting. Bump flake8 and mark black disagreements in setup.cfg.
10 lines
188 B
Python
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)
|