Skip to content

Commit

Permalink
Merge pull request #26 from byuccl/fix-async-uart
Browse files Browse the repository at this point in the history
fixing uart
  • Loading branch information
jgoeders authored Nov 20, 2024
2 parents cd45ca5 + 3d3f8ee commit 1bbf30d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
setup(
name="yinstruments",
packages=find_packages(),
version="1.6.2",
version="1.6.3",
description="Experiment device control scripts for BYU's Configurable Computing Lab (https://ccl.byu.edu/)",
author="Jeff Goeders",
author_email="jeff.goeders@gmail.com",
Expand Down
3 changes: 2 additions & 1 deletion yinstruments/async_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ def __init__(self, serial):
# raise SerialNoFullLine

def _get_data(self):
return self.serial.read_until()
t = self.serial.read_until()
return t.decode("utf-8")


class AsyncReaderSocket(AsyncReader):
Expand Down

0 comments on commit 1bbf30d

Please sign in to comment.