Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/pybricks/messaging.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def __init__(
You can read data that is delivered by other EV3 bricks, or send data
to other bricks that have the same mailbox.

By default, the mailbox reads and send only bytes. To send other
By default, the mailbox reads and sends only bytes. To send other
data, you can provide an ``encode`` function that encodes your Python
object into bytes, and a ``decode`` function to convert bytes back to
a Python object.
Expand Down Expand Up @@ -217,7 +217,7 @@ def send(self, value: T, brick: Optional[str] = None) -> None:
value:
The value that will be delivered to the mailbox.
brick (str):
The name or Bluetooth address of the brick or ``None`` to
The name or Bluetooth address of the brick or ``None``
to broadcast to all connected devices.

Raises:
Expand All @@ -228,7 +228,7 @@ def send(self, value: T, brick: Optional[str] = None) -> None:
def wait(self) -> None:
"""wait()

Waits for the mailbox to be updated by remote device."""
Waits for the mailbox to be updated by a remote device."""

def wait_new(self) -> T:
"""wait_new()
Expand Down Expand Up @@ -380,7 +380,7 @@ class AppData:
Bluetooth. This is used by the smart sensor features like the vision
processors.

Each processor has on emode and produces a fixed amount of data. These are
Each processor has one mode and produces a fixed amount of data. These are
continuously sent to the hub as they change. The user code can read these
buffered values at any time without blocking. All values are initially zero.

Expand Down