multiterminal – Manage additional terminal sources¶
multiterminal module allows you to configure an additional serial
terminal source. Incoming characters are accepted from both the internal
serial connection and the optional secondary connection.
- multiterminal.get_secondary_terminal() Optional[BinaryIO] ¶
Returns the current secondary terminal.
- multiterminal.set_secondary_terminal(stream: BinaryIO) None ¶
Read additional input from the given stream and write out back to it. This doesn’t replace the core stream (usually UART or native USB) but is mixed in instead.
stream (stream) – secondary stream