8000 Disable REPL to use USB UART for custom console? · Issue #2860 · adafruit/circuitpython · GitHub
[go: up one dir, main page]

Skip to content

Disable REPL to use USB UART for custom console? #2860

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
AdinAck opened this issue May 6, 2020 · 2 comments
Closed

Disable REPL to use USB UART for custom console? #2860

AdinAck opened this issue May 6, 2020 · 2 comments

Comments

@AdinAck
Copy link
AdinAck commented May 6, 2020

I am using an M4 ItsyBitsy and would like to create a custom console for when I plug my computer into the USB port on the ItsyBitsy. I don't know how to access the Tx and Rx pins on the USB port and I don't know if I would be able to use them even if I did know what pins they were since the REPL uses them. And yes I know that there is input() and print() but I need background processes to occur even while the user is using the console (since input() holds the whole script).

Is there any way to accomplish this?

Thanks!

@deshipu
Copy link
deshipu commented May 6, 2020

There are no TX and RX pins on the USB port — that serial port is virtual, simulated in software.

If you want non-blocking input, you will probably be interested in issue #231.

@tannewt
Copy link
Member
tannewt commented May 6, 2020

Closing this because it is a duplicate of #231.

@tannewt tannewt closed this as completed May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0