Skip to content

Commit 1713e41

Browse files
authored
Merge pull request #81 from SummerGGift/plug
【添加】micropython 插件说明
2 parents c3bfafc + 4dc4fb9 commit 1713e41

File tree

10 files changed

+54
-0
lines changed

10 files changed

+54
-0
lines changed

docs/MicroPythonPlug-in/README.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# VSCode 最好用的 MicroPython 插件
2+
3+
## 准备工作
4+
5+
本插件依赖 Microsoft Python 插件,并且使用 Python 脚本,因此需要做如下准备:
6+
7+
1. 安装 Microsoft Python 插件
8+
2. 按照 Python 插件的提示在 PC 上安装 Python3 并加入系统环境
9+
10+
![Python plug](assets/install_python_plug.png)
11+
12+
如果在 PC 上已经安装过上述插件和程序,可以跳过此准备步骤。
13+
14+
## 快速入门
15+
16+
1. 打开一个文件夹作为工程的根目录
17+
18+
![open_dir](assets/open_dir.gif)
19+
20+
2. 将开发板接入网络或者通过 USB 连接到 PC 并点击左下角的设备连接按钮
21+
22+
![connect_device](assets/connect_device.gif)
23+
24+
3. 运行示例代码并观察代码在开发板上的运行效果
25+
26+
![run_example](assets/run_example.gif)
27+
28+
## 功能介绍
29+
30+
- 通过网络、USB 或串口的方式连接开发板
31+
32+
- 提供丰富的 MicroPython 代码示例程序
33+
34+
![example_code](assets/example_code.png)
35+
36+
- 支持在设备上直接运行示例代码
37+
38+
![run_example_code](assets/run_example_code.png)
39+
40+
- 支持运行代码片段
41+
42+
![run_code_snippet](assets/run_code_snippet.gif)
43+
44+
- 支持 STM32L4 Pandora IoT Board 、W601 IoT Board 等多款开发板
45+
- 优秀的代码编辑环境
46+
- 基于 MicroPython 的代码智能补全
47+
48+
![auto_complete](assets/auto_complete.gif)
49+
50+
## 注意事项
51+
52+
- 请选择 PowerShell 作为默认终端
53+
在 PowerShell 终端中输入 `Set-ItemProperty HKCU:\Console VirtualTerminalLevel -Type DWORD 1` 可以解决退格键等显示乱码的问题。
54+
748 KB
Loading
748 KB
Loading
175 KB
Loading
65.4 KB
Loading
139 KB
Loading
639 KB
Loading
417 KB
Loading
289 KB
Loading
69.5 KB
Loading

0 commit comments

Comments
 (0)