|
@@ -157,7 +157,7 @@ The firmware for the development boards numbered 1, 2, and 3 is provided by rt-t
|
|
|
|
|
|
|
|
1. Using plug-in under the Windows operating system requires changing the default terminal of vscode to powershell, as shown below:
|
|
1. Using plug-in under the Windows operating system requires changing the default terminal of vscode to powershell, as shown below:
|
|
|
|
|
|
|
|
- 
|
|
|
|
|
|
|
+ 
|
|
|
|
|
|
|
|
If you want to use the MicroPython autocompletion feature (you can skip the next step if you don't need autocompletion for now), you need to do the following:
|
|
If you want to use the MicroPython autocompletion feature (you can skip the next step if you don't need autocompletion for now), you need to do the following:
|
|
|
|
|
|
|
@@ -183,13 +183,13 @@ Note: the configuration change requires **to restart the operating system** for
|
|
|
|
|
|
|
|
The first step in MicroPython development is to create a MicroPython project within which all subsequent operations must run. There are two ways to create a new MicroPython project, a blank project and a demo-based project, which are shown below.
|
|
The first step in MicroPython development is to create a MicroPython project within which all subsequent operations must run. There are two ways to create a new MicroPython project, a blank project and a demo-based project, which are shown below.
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
### Connecting development board
|
|
### Connecting development board
|
|
|
|
|
|
|
|
You can connect to the MicroPython development board by clicking the connection button in the lower left corner and then selecting the device you want to connect to in the pop-up list of devices.
|
|
You can connect to the MicroPython development board by clicking the connection button in the lower left corner and then selecting the device you want to connect to in the pop-up list of devices.
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
### View the sample code file
|
|
### View the sample code file
|
|
|
|
|
|
|
@@ -201,13 +201,13 @@ The MicroPython plug-in provides a wealth of sample code and library files to vi
|
|
|
|
|
|
|
|
After successful connection of the development board, right click on the sample code file, select 'download and run the MicroPython file' on the device from the menu, and the sample file can be downloaded to the development board and run, as shown below:
|
|
After successful connection of the development board, right click on the sample code file, select 'download and run the MicroPython file' on the device from the menu, and the sample file can be downloaded to the development board and run, as shown below:
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
### Run MicroPython code snippets on the development board
|
|
### Run MicroPython code snippets on the development board
|
|
|
|
|
|
|
|
If you just want to debug a small amount of code without downloading files to the development board, you can use the **code snippet** function.You can run the selected code in the REPL environment by selecting the snippet you want to run in the editor, and then selecting the 'execute the selected MicroPython code' option on the device from the right-click menu.
|
|
If you just want to debug a small amount of code without downloading files to the development board, you can use the **code snippet** function.You can run the selected code in the REPL environment by selecting the snippet you want to run in the editor, and then selecting the 'execute the selected MicroPython code' option on the device from the right-click menu.
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
### Intelligent code completion based on MicroPython
|
|
### Intelligent code completion based on MicroPython
|
|
|
|
|
|