Skip to content

Commit b35e41e

Browse files
committed
first sketch
1 parent bc3bfbd commit b35e41e

File tree

6 files changed

+6
-8
lines changed

6 files changed

+6
-8
lines changed
837 KB
Loading
251 KB
Loading
50.2 KB
Loading
216 KB
Loading
8.8 KB
Loading

content/micropython/03.micropython/00.first-steps/02.first-sketch/first-sketch.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,9 @@ MicroPython is officially supported on several Arduino boards. Here’s a list o
4343

4444
1. Open the [Arduino Lab for MicroPython]() application.
4545
2. Plug the Arduino board into the computer using a USB cable.
46-
![Connect board to computer.]()
47-
3. Press the connection button on the top left corner of the window.
48-
![Connect the editor to the board.]()
49-
4. The connected Arduino board should appear, and we can click it:
50-
![Select board.]()
46+
![Connect board to computer.](assets/usb-comp.png)
47+
3. Press the connection button on the top left corner of the window. The connected Arduino board should appear (by its port name), and we can click it:
48+
![Connect to the board in the editor.](assets/select-board-ide.png)
5149

5250
***Need help installing MicroPython on your board? Visit the [MicroPython installation guide]().***
5351

@@ -56,7 +54,7 @@ MicroPython is officially supported on several Arduino boards. Here’s a list o
5654
Once your board is connected, we can start writing code! Below you will find a basic example, that will flash the built in LED on your board every second.
5755

5856
1. First, open the `main.py` file on your board. We write in this file, because once saved, the code will run even if you reset the board.
59-
![Open main.py file.]()
57+
![Open main.py file.](assets/open-files.png)
6058

6159
2. Copy and paste the following code into your editor:
6260
```python
@@ -78,11 +76,11 @@ Once your board is connected, we can start writing code! Below you will find a b
7876
***Note: The built-in LED pin varies from board to board. For example, on the Arduino Nano RP2040 Connect, the built-in LED is on pin `25`.***
7977

8078
3. Click the **Run** button in your editor to transfer the script to your board.
81-
![Run the script.]()
79+
![Run the script.](assets/run-script.png)
8280

8381
Once the script is running, the LED on the board should start blinking at one-second intervals. This means our MicroPython script has loaded successfully.
8482

85-
![LED blinking on your board.]()
83+
![LED blinking on your board.](assets/blink.gif)
8684

8785
### Code Breakdown
8886

0 commit comments

Comments
 (0)