Is there a standard way to execute python code on PC side via Micropython? #11414
Unanswered
sandric
asked this question in
Using MicroPython
Replies: 1 comment 1 reply
-
I'm not what you are trying to achieve here, but maybe you can look into |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hi, I wonder if there is some standardized way to call python code on PC side (via serial or CDC I suppose) from inside Micropython?
I understand I could write simple python script that listens to
/etc/tty
device for input string, and theneval
it I suppose. But wanted to be sure there's no existing standard way to perform such two-way cross talking. In particular I'm talking of scenario when you accessing micropython on mcu with repl - so that mcu now knows there's a repl with python executable, and existing socket to write into it.Thx.
Beta Was this translation helpful? Give feedback.
All reactions