Commit c7bd017
committed
Fix up example to use correct object
Currently the example fails 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.
Renaming 'dexarm' instead of 'device' in order to make it less
confusing.
Signed-off-by: Michele Baldessari <michele@acksyn.org>1 parent 34f4bd4 commit c7bd017
1 file changed
+10
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
0 commit comments