Skip to content

Commit 79f349c

Browse files
committed
fix set_basic_output bug
1 parent 2be329f commit 79f349c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pymycobot/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
from pymycobot.mybuddyemoticon import MyBuddyEmoticon
4444
__all__.append("MyBuddyEmoticon")
4545

46-
__version__ = "3.0.7"
46+
__version__ = "3.0.8b1"
4747
__author__ = "Elephantrobotics"
4848
__email__ = "[email protected]"
4949
__git_url__ = "https://github.com/elephantrobotics/pymycobot"

pymycobot/generate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ def set_basic_output(self, pin_no, pin_signal):
716716
pin_no: pin port number.
717717
pin_signal: 0 / 1
718718
"""
719-
return self._mesg(ProtocolCode.SET_BASIC_OUTPUT, pin_no, pin_signal)
719+
return self._mesg(ProtocolCode.SET_BASIC_OUTPUT, pin_no, pin_signal, has_reply=True)
720720

721721
def get_basic_input(self, pin_no):
722722
"""Get basic input for M5 version.

0 commit comments

Comments
 (0)