Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
iwaniec committed Apr 20, 2023
2 parents d6ff353 + ea17a2c commit a448d94
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions motorboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ def exchange_command(self, command):
This should NOT be used in a script. It is intended for other functions to access"""

stream = command.encode('utf-8')+b"\r\n"
#print(stream)

if self.driver != False:
try:
Expand All @@ -115,6 +116,7 @@ def exchange_command(self, command):
self.driver.write(stream)
response = self.driver.readline()
response = response.decode("utf-8","ignore")
#print(response[:-2])

# (too often) logger.info('[XYZ Class ] MotorBoard.exchange_command('+command+') succeeded')
return response[:-2]
Expand Down

0 comments on commit a448d94

Please sign in to comment.