Skip to content

Commit

Permalink
WIP with real panel
Browse files Browse the repository at this point in the history
  • Loading branch information
jantman committed Oct 22, 2023
1 parent d5d0428 commit 526fd6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py_vista_turbo_serial/communicator.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def communicate(self) -> Generator[MessagePacket, None, None]:
if self.outgoing:
msg = self.outgoing.pop(0)
logger.info('Sending message: %s', msg)
self.serial.write(bytes(msg + '\r\n'))
self.serial.write(bytes(msg + '\r\n', 'ascii'))
# this might be better with select(), but let's try this...
while True:
# @TODO handle exception on timeout
Expand Down

0 comments on commit 526fd6e

Please sign in to comment.