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 526fd6e commit e715dc2
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', 'ascii'))
self.serial.write(bytes(msg, 'ascii') + b'\r\n')
# this might be better with select(), but let's try this...
while True:
# @TODO handle exception on timeout
Expand Down

0 comments on commit e715dc2

Please sign in to comment.