Issues with sending data from rp2 pico to pc via uart #10517
Unanswered
MariaA2005
asked this question in
Using MicroPython
Replies: 1 comment
-
Hello, Maria. You cannot do what you want with Thonny or any regular terminal emulator such as putty because they lock the serial port while they are running. In your case, you may have Thonny save your Micropython script to RP2 as, say,
Then quit Thonny, reset your pico, and try running the script on the VS Code side. Short term Thonny is OK for some software development, but you should take a look at rshell or mpbridge . There is also mpremote, but the learning curve is a little steeper than rshell's (I did not try mpbridge extensively yet) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to send real-time data from the rp2 pico to the pc, via uart. My code, on the rp (using Thonny), is as follows:
Which gets the temperature values from the raspberry sensor and then supposedly sends them via UART. In the pc (VS Code), I have the following code :
However, it brings up an error which says that the port is busy. Help/alternative answers?
Beta Was this translation helpful? Give feedback.
All reactions