Skip to content

add google doc strings and type hints to code #30

Description

@WolfgangFahl

ChatGPT4 will happily assist in this e.g.

def serial_send(ser: serial.Serial, data: bytes = None, read_echo: bool = False) -> None:
    """
    Sends data through the serial interface and optionally reads echo.

    :param ser: Serial port instance.
    :param data: Data to be sent as bytes.
    :param read_echo: Flag to determine if the echo should be read.
    """

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions