Skip to content

Commit 17c2e81

Browse files
committed
fix bug
1 parent d6d245c commit 17c2e81

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pymycobot/ultraArm.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66

77
class ultraArm:
8-
def __init__(self, port, baudrate="115200", timeout=0.1, debug=False):
8+
def __init__(self, port, baudrate=115200, timeout=0.1, debug=False):
99

1010
"""
1111
Args:
@@ -357,8 +357,8 @@ def set_gpio_state(self, state):
357357
358358
Args:
359359
state:
360-
0 - open
361-
1 - close
360+
1 - open
361+
0 - close
362362
"""
363363
if state:
364364
command = ProtocolCode.GPIO_CLOSE + ProtocolCode.END

0 commit comments

Comments
 (0)