Skip to content
Discussion options

You must be logged in to vote

The easiest way to do this is just with regular Python print() and input(). If you want to do something more sophisticated (i.e. non-blocking input) then you can use sys.stdin directly.

The other option is to use https://docs.micropython.org/en/latest/reference/pyboard.py.html#using-the-pyboard-library to remote control the device. Or take a look at https://github.com/BrianPugh/belay for a more comprehensive solution.

The USB_VCP on STM32 allows you to use the VCP independent of stdin/stdout. This is not currently possible on rp2 / Pico.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Prakhar005
Comment options

@robert-hh
Comment options

@Prakhar005
Comment options

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