Page 1 of 1

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

Posted: Wed Jul 06, 2022 8:18 am
by Firas_Baccouri
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 .

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

Posted: Wed Jul 06, 2022 12:27 pm
by jimmo
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.

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

Posted: Fri Jul 08, 2022 6:26 am
by jimmo