You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/learn/03.programming/05.arduino-and-python/arduino-and-python.md
+13-7Lines changed: 13 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,8 @@ author: 'Karl Söderby'
3
3
title: 'MicroPython with Arduino Boards'
4
4
description: 'Learn about compatibility between the popular MicroPython implementation and Arduino boards, how to set up your environment, and discover in-depth tutorials and useful links.'
5
5
tags:
6
-
- Python
6
+
- MicroPython
7
+
- Arduino Lab
7
8
- OpenMV
8
9
hero_position: 1
9
10
---
@@ -77,9 +78,10 @@ All of above are also compatible with the **OpenMV IDE.**
77
78
78
79

79
80
80
-
If you need help getting started with MicroPython on the **Nano 33 BLE** board, you can check out the tutorial below:
81
+
If you need help getting started with MicroPython on the **Nano 33 BLE** board, you can check out the tutorials below:
81
82
82
-
-[Getting started with MicroPython with Nano 33 BLE](/tutorials/nano-33-ble/getting-started-omv) (setting up your environment).
83
+
-[Install MicroPython on your Nano BLE](/tutorials/nano-33-ble-sense/micropython-installation#arduino-nano-33-ble).
84
+
-[Getting started with OpenMV and Nano 33 BLE](/tutorials/nano-33-ble/getting-started-omv)
83
85
-[Nano 33 BLE Python API guide](/tutorials/nano-33-ble/ble-python-api) (a collection of useful scripts).
84
86
85
87
***To reset the bootloader on the Nano 33 BLE board, double tap the reset button quickly. This will reset your board to factory setting.***
@@ -90,7 +92,8 @@ If you need help getting started with MicroPython on the **Nano 33 BLE** board,
90
92
91
93
If you need help getting started with MicroPython on the **Nano 33 BLE Sense** board, you can check out the tutorials below:
92
94
93
-
-[Getting started with MicroPython with Nano 33 BLE Sense](/tutorials/nano-33-ble-sense/getting-started-omv) (setting up your environment).
95
+
-[Install MicroPython on your Nano BLE Sense](/tutorials/nano-33-ble-sense/micropython-installation#arduino-nano-33-ble).
96
+
-[Getting started with OpenMV and Nano 33 BLE Sense](/tutorials/nano-33-ble-sense/getting-started-omv)
94
97
-[Nano 33 BLE Sense Python guide](/tutorials/nano-33-ble-sense/ble-sense-python-api) (a collection of useful scripts).
95
98
96
99
***To reset the bootloader on the Nano 33 BLE Sense board, double tap the reset button quickly. This will reset your board to factory setting.***
@@ -101,8 +104,10 @@ If you need help getting started with MicroPython on the **Nano 33 BLE Sense** b
101
104
102
105
If you need help getting started with MicroPython on the **Nano RP2040 Connect** board, you can check out the tutorials below:
103
106
104
-
-[Getting Started with OpenMV and MicroPython on Nano RP2040 Connect](/tutorials/nano-rp2040-connect/rp2040-openmv-setup)
107
+
-[Install MicroPython on your Nano RP2040 Connect](/tutorials/nano-rp2040-connect/micropython-installation#arduino-nano-rp2040-connect)
-[Getting Started with OpenMV and MicroPython on Nano RP2040 Connect](/tutorials/nano-rp2040-connect/rp2040-openmv-setup)
110
+
106
111
107
112
***To reset the bootloader, you will need to short to connect a jumper wire between the REC and GND pin, and press the reset button. More detailed instructions are available in the [Nano RP2040 Connect technical reference](/tutorials/nano-rp2040-connect/rp2040-01-technical-reference#board-not-detected).***
108
113
@@ -112,6 +117,7 @@ If you need help getting started with MicroPython on the **Nano RP2040 Connect**
112
117
113
118
If you need help getting started with MicroPython on the **Portenta H7** board, you can check out the tutorial below:
114
119
120
+
-[Install MicroPython on Portenta H7](/tutorials/portenta-h7/micropython-installation#arduino-portenta-h7).
115
121
-[Getting Started with OpenMV and MicroPython on Portenta H7](https://docs.arduino.cc/tutorials/portenta-h7/por-openmv-gs)
116
122
117
123
## Learn Python
@@ -135,7 +141,7 @@ This means it's time to learn the **Python** language, which there is a lot of r
135
141
136
142
Visit the [MicroPython documentation](https://docs.micropython.org/en/latest/) for an understanding on how Python runs on microcontrollers.
137
143
138
-
***Note that many examples will not work directly with Arduino boards, but will provide an understanding of how Python can run on a microcontroller.***
144
+
***Note that many examples in the MicroPython Docs will not work directly with Arduino boards, but will provide an understanding of how Python can run on your board.***
139
145
140
146
## API
141
147
@@ -179,7 +185,7 @@ while True:
179
185
time.sleep(1)
180
186
```
181
187
182
-
### For loop
188
+
### For Loop
183
189
184
190
Simple use of a for loop and functions. This script counts to 10, and then back to 0.
0 commit comments