Skip to content

Commit 6366559

Browse files
committed
Fix up example to use correct object
Currently the example fails on linux with: python3 pydexarm/example.py pydexarm: /dev/ttyACM0 open Traceback (most recent call last): File "/home/michele/Devel/DexArm_API/pydexarm/example.py", line 9, in <module> dexarm.go_home() NameError: name 'dexarm' is not defined Let's point it to the proper class so things start working again on Linux Signed-off-by: Michele Baldessari <michele@acksyn.org>
1 parent 34f4bd4 commit 6366559

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pydexarm/example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
'''windows'''
44
dexarm = Dexarm(port="COM67")
55
'''mac & linux'''
6-
# device = Dexarm(port="/dev/tty.usbmodem3086337A34381")
6+
# dexarm = Dexarm(port="/dev/tty.usbmodem3086337A34381")
77

88
dexarm.go_home()
99

@@ -16,4 +16,4 @@
1616
dexarm.air_picker_place()
1717

1818
dexarm.go_home()
19-
dexarm.close()
19+
dexarm.close()

0 commit comments

Comments
 (0)