Skip to content

flush read buffer of UART in __init #1

Description

@ste7anste7an

problem: when starting uremote communication, remaining bytes in the uart buffer can cause "uRemoteError: Read error: Preamble mismatch." error.

To do: flush read buffer. For both Pybricks and esp32.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions