See this mpfshell.
Based on the mpfshell-lite.
Start your Python and MicroPython programming anytime, anywhere.
Right - click shortcuts to control your board.
In the terminal input mpfs
into the following mode shows you already installed.
Open the Command Palette (Command+Shift+P on macOS and Ctrl+Shift+P on Windows/Linux) and type in one of the following commands:
Command | Description |
---|---|
Set Open args |
Set args of the Open, save configuration file. |
Start REPL |
directly into your MicroPython REPL. |
Run this file |
Run the code file you specify. |
Open Tools |
directly into mpfshell equivalent. |
To see all available Python commands, open the Command Palette and type mpfshell
.
To execute a xx.py file, you need to right-click and select Run this file
.
The terminal will be the following result.
such as mpfs > runfile ts.py
.
It will generate settings.json
{
"mpfshell.open": ""
}
This is actually the open argument to the mpfshell.
You can change it if your Want to use webrepl.
{
"mpfshell.open": "ws:192.168.1.1,1234" // mpfs > open ws:192.168.1.1,1234.
}
It will be saved in the workspace configuration, and each run this code will be asked Set open args
if value is default or auto judge.
Near future.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。