Is there any way i can control the Pico's REPL using the desktop version of Python?

RP2040 based microcontroller boards running MicroPython.
Target audience: MicroPython users with an RP2040 boards.
This does not include conventional Linux-based Raspberry Pi boards.
Post Reply
Kavyansh
Posts: 2
Joined: Sun Jan 09, 2022 10:24 am

Is there any way i can control the Pico's REPL using the desktop version of Python?

Post by Kavyansh » Sun Jan 09, 2022 10:36 am

I wanted to play with the Pico's REPL using the desktop version of python, and am still curious how the Thonny IDE allows us to use the REPL, I would appreciate any kind of reply.

Thanks, :D

User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: Is there any way i can control the Pico's REPL using the desktop version of Python?

Post by dhylands » Wed Jan 12, 2022 6:57 pm

Sure - the REPL is jsut a serial port that you can send stuff to/receive stuff from.

rshell also works by sending commands to the serial port (and runs using the desktop version of python).

It would help to know what types of things you're wanting to do.

Kavyansh
Posts: 2
Joined: Sun Jan 09, 2022 10:24 am

Re: Is there any way i can control the Pico's REPL using the desktop version of Python?

Post by Kavyansh » Wed Jan 19, 2022 10:58 am

Sorry for the late reply; I would be wanting to make something like a driver which just transfers some information through the "input" function, because i dont have a ESP-01 available as of now
Thanks :D

Post Reply