Skip to content

Commit 97364a3

Browse files
authored
Updated documentation for USB connections (#25)
Addresses #24.
1 parent af0a962 commit 97364a3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,15 @@ firmware.
127127
# Run script on the first device we find called Pybricks hub
128128
pybricksdev run ble --name "Pybricks Hub" demo/shortdemo.py
129129

130+
# Run script on device with address 90:84:2B:4A:2B:75 (doesn't work on Mac)
131+
pybricksdev run ble --name 90:84:2B:4A:2B:75 demo/shortdemo.py
132+
133+
#
134+
# usb connection examples:
135+
# NOTE: running programs via usb connection works for official LEGO firmwares only
136+
137+
# Run script on any Pybricks device
138+
pybricksdev run usb demo/shortdemo.py
130139

131140
#
132141
# Other connection examples:

0 commit comments

Comments
 (0)