mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 01:24:17 +00:00
pybricks.iodevices: Make LWP3 write awaitable.
This commit is contained in:
@@ -4,6 +4,12 @@
|
||||
|
||||
## Unreleased
|
||||
|
||||
## Added
|
||||
- Enabled tilt and orientation config for `MoveHub()`.
|
||||
|
||||
## Fixed
|
||||
- Fixed missing awaitable for `Remote.light` and LWP3 writes.
|
||||
|
||||
## 3.3.0b9 - 2023-10-26
|
||||
|
||||
### Changed
|
||||
|
||||
@@ -316,7 +316,7 @@ class LWP3Device:
|
||||
this method returns the current name.
|
||||
"""
|
||||
|
||||
def write(self, buf: bytes) -> None:
|
||||
def write(self, buf: bytes) -> MaybeAwaitable:
|
||||
"""write(buf)
|
||||
|
||||
Sends a message to the remote hub.
|
||||
|
||||
Reference in New Issue
Block a user