Skip to content

Commit

Permalink
Add SerialHandler.get_long
Browse files Browse the repository at this point in the history
  • Loading branch information
bessman committed Jul 27, 2024
1 parent f9fd97c commit 4e53d8f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pslab/serial_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ def __init__(
update_wrapper(self.send_byte, self._send)
self.send_int = partial(self._send, size=2)
update_wrapper(self.send_int, self._send)
self.send_long = partial(self._send, size=4)
update_wrapper(self.send_long, self._send)
self.get_byte = partial(self._receive, size=1)
update_wrapper(self.get_byte, self._receive)
self.get_int = partial(self._receive, size=2)
Expand Down

0 comments on commit 4e53d8f

Please sign in to comment.