Create a standalone python software to use from it the micropython code

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
Post Reply
Firas_Baccouri
Posts: 35
Joined: Wed Apr 27, 2022 7:22 am

Create a standalone python software to use from it the micropython code

Post by Firas_Baccouri » Wed Jul 06, 2022 8:18 am

I am working on finding a way to create a standalone python software to use from it the micropython code , so you will be able to send the mpy code through a python software through the serial communication .

Thanks to @Jimmo who helped me with this solution of "pyboard.py" (https://docs.micropython.org/en/latest/ ... rd-library) tool which is the key for doing that .

Thanks to Jimmo again and I want that could helpful for people who worked or will work on that .

User avatar
jimmo
Posts: 2754
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: Create a standalone python software to use from it the micropython code

Post by jimmo » Wed Jul 06, 2022 12:27 pm

In more detail, the question here was how to write a Python program (running on the PC) to remotely execute snippets of code on the connected device (e.g. to turn on a pin, etc). You can use the pyboard.py tool as a library to do this.


Post Reply