How to detect terminal connection to using cdc.py VCP on Pico? #16891
Unanswered
rmrubin
asked this question in
RP2040 / Pico
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a VCP project that does not display the CDC output buffer until another CDC read or write is executed after a terminal is connected.
How would I adjust the code below so "omg!" is written to the terminal only after it has connected?
I know this code kills the REPL. I do not want multiple COM ports and the actual code implements button triggered methods to reset and rename main.py to handle related headaches.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions