mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 17:46:19 +00:00
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)
|