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: README.md
+11-31
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@
14
14
### 1. install mpremote
15
15
16
16
[mpremote](https://docs.micropython.org/en/latest/reference/mpremote.html) is needed to upload files on the [Arduino® Nano ESP32](https://store.arduino.cc/products/nano-esp32?gad_source=1&gclid=Cj0KCQiA2KitBhCIARIsAPPMEhLtIxV_s7KyLJO4-69RdR1UeFTdgGK_XmI8w7xdbur4gs1oJU4Jl68aAhbaEALw_wcB).
17
+
Minimum suggested mpremote release is 1.22.0
17
18
18
19
```shell
19
20
(venv)$ pip install mpremote
@@ -37,39 +38,12 @@ Windows
37
38
__NOTE: DO NOT USE LAB FOR MICROPYTHON TO UPLOAD BIN FILES__
38
39
39
40
### 2.1 mip (MicroPython Package Manager)
40
-
This is the recommended method for boards which can connect to Internet.
41
-
Run the following MicroPython script using your favourite editor:
41
+
This is the recommended method for boards which can connect to Internet. Make sure your board is connected to the Internet and
42
+
run the following MicroPython script using your favourite editor:
42
43
43
44
```py
44
-
import network
45
45
import mip
46
-
import time
47
-
48
-
SSID='YOUR WIFI NETWORK NAME (must be 2.4GHz)'
49
-
PWD='YOUR WIFI PASSWORD'
50
-
51
-
interface = network.WLAN(network.STA_IF)
52
-
interface.active(False)
53
-
time.sleep(0.1)
54
-
interface.active(True)
55
-
56
-
defconnect(ssid, pwd):
57
-
interface.connect(ssid, pwd)
58
-
# Network Connection Progress
59
-
max_dot_cols =20
60
-
dot_col =0
61
-
print()
62
-
print(f"Connecting to {ssid}")
63
-
whilenot interface.isconnected():
64
-
if(dot_col % max_dot_cols ==0):
65
-
print()
66
-
print('.', end='')
67
-
dot_col +=1
68
-
time.sleep_ms(100)
69
-
print()
70
-
print(f'{"C"if interface.isconnected() else"NOT c"}onnected to network')
You can find the latest Arduino Alvik Carrier Firmware code andpre-compiled binary[here](https://github.com/arduino-libraries/Arduino_AlvikCarrier/releases/latest)
0 commit comments