mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2025-12-17 21:11:12 +00:00
Correct runze pump multiple receive method.
This commit is contained in:
@@ -160,7 +160,7 @@ class RunzeMultiplePump:
|
|||||||
full_command_data = bytearray(full_command, "ascii")
|
full_command_data = bytearray(full_command, "ascii")
|
||||||
self.hardware_interface.write(full_command_data)
|
self.hardware_interface.write(full_command_data)
|
||||||
time.sleep(0.05)
|
time.sleep(0.05)
|
||||||
response = self.hardware_interface.read_until(b"\n")
|
response = self.hardware_interface.read_until(b"\n") # \n should direct use, not \\n
|
||||||
output = self._receive(response)
|
output = self._receive(response)
|
||||||
return output
|
return output
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user