Skip to content

Commit

Permalink
fix set_basic_output bug
Browse files Browse the repository at this point in the history
  • Loading branch information
anla-xu committed Mar 14, 2023
1 parent 2be329f commit 79f349c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pymycobot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
from pymycobot.mybuddyemoticon import MyBuddyEmoticon
__all__.append("MyBuddyEmoticon")

__version__ = "3.0.7"
__version__ = "3.0.8b1"
__author__ = "Elephantrobotics"
__email__ = "[email protected]"
__git_url__ = "https://github.com/elephantrobotics/pymycobot"
Expand Down
2 changes: 1 addition & 1 deletion pymycobot/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ def set_basic_output(self, pin_no, pin_signal):
pin_no: pin port number.
pin_signal: 0 / 1
"""
return self._mesg(ProtocolCode.SET_BASIC_OUTPUT, pin_no, pin_signal)
return self._mesg(ProtocolCode.SET_BASIC_OUTPUT, pin_no, pin_signal, has_reply=True)

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

0 comments on commit 79f349c

Please sign in to comment.