Skip to content

Ability to redirect the REPL output #721

Open
@deshipu

Description

@deshipu

When we build projects using the CircuitPython boards, we will often connect to them output devices, such as character displays, LCDs, OLEDs, LED matrices, thermal printers and so on. That potentially gives us the ability to display debugging output and exception traceback in a more convenient way, without having to connect to the computer to see the serial communications. We just need some way to plug our own function into the REPL output.

As far as I know, the ESP8266 has that capability, as it was necessary for implementing the WebREPL. However, it seems to be pretty much undocumented, and only constrained to that one port.

It would be nice to have the multiterminal module implemented across ports, in a less socket-specific way, and documented.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions