Skip to content
Discussion options

You must be logged in to vote

You can use os.dupterm() to replicate the standard output to a stream device, like UART. e.g.

import os
from machine import UART
uart=UART(0, 115200)
os.dupterm(uart, 0)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@GitHubsSilverBullet
Comment options

Answer selected by CrabbyPete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants