Skip to content

Commit 5f4e3b7

Browse files
committed
add img rp2040
1 parent 8e78dac commit 5f4e3b7

File tree

3 files changed

+31
-5
lines changed

3 files changed

+31
-5
lines changed

content/micropython/03.micropython/04.board-examples/nano-ble-sense/nano-ble-sense.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Nano BLE Sense
33
description: Learn how to use specific features on the Nano BLE Sense using MicroPython
4+
author: Karl Söderby
45
---
56

67
![Nano BLE Sense](assets/ble-sense.png)

content/micropython/03.micropython/04.board-examples/nano-esp32/nano-esp32.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Nano ESP32
3-
description: Learn how to use specific features on the Nano ESP32 using MicroPython
3+
description: Learn how to use specific features on the Nano ESP32 using MicroPython
4+
author: Pedro Lima
45
---
56

67
![Nano ESP32](./assets/esp32.png)

content/micropython/03.micropython/04.board-examples/nano-rp2040-connect/nano-rp2040-connect.md

+28-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
22
title: Nano RP2040 Connect
33
description: Learn how to use specific features on the Nano RP2040 Connect using MicroPython
4+
author: Karl Söderby
45
---
56

6-
![Nano RP2040 Connect]()
7+
![Nano RP2040 Connect](assets/rp-2040.png)
78

89
In this guide, you will find information specific to the [Nano RP2040 Connect board](), such as supported serial protocols and built-in sensors that can be accessed.
910

@@ -14,7 +15,7 @@ For installation instructions, please visit the link below.
1415

1516
The pinout for the Nano RP2040 Connect can be found in the image below.
1617

17-
![Nano RP2040 Connect Pinout]()
18+
![Nano RP2040 Connect Pinout](assets/ABX00053-pinout.png)
1819

1920
***For more details on this product, visit the [hardware product page](/hardware/nano-rp2040-connect/).***
2021

@@ -28,10 +29,33 @@ The Nano RP2040 Connect has a number of board-specific features that can be acce
2829

2930
### RGB LED
3031

31-
To use the RGB pixel, we can control it by using the `X`, `Y` and `Z` pins. Below is an example that will blink the main colors in sequence:
32+
To use the RGB pixel, we can control it by using the `1`, `2` and `3` pins. Below is an example that will blink the main colors in sequence:
3233

3334
```python
34-
# code example RGB
35+
from board import LED
36+
import time
37+
38+
led_red = LED(1)
39+
led_green = LED(2)
40+
led_blue = LED(3)
41+
42+
while (True):
43+
44+
# Turn on LEDs
45+
led_red.on()
46+
led_green.on()
47+
led_blue.on()
48+
49+
# Wait 0.25 seconds
50+
time.sleep_ms(250)
51+
52+
# Turn off LEDs
53+
led_red.off()
54+
led_green.off()
55+
led_blue.off()
56+
57+
# Wait 0.25 seconds
58+
time.sleep_ms(250)
3559
```
3660

3761
### Microphone (MP34DT05)

0 commit comments

Comments
 (0)