Skip to content

Commit 8855061

Browse files
author
Simon Prickett
committed
Documented install method using mip.
1 parent e2f626f commit 8855061

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,17 @@ This will install the driver into `/lib` on the device, along with the [base64](
2424

2525
### Install with `mip`
2626

27-
TODO
27+
You can also install the driver into `/lib` on the device by running the following commands at the MicroPython REPL on the device:
28+
29+
```python
30+
import network
31+
import mip
32+
wlan = network.WLAN(network.STA_IF)
33+
wlan.active(True)
34+
wlan.connect("<your wifi SSID>", "<your wifi password>")
35+
wlan.isconnected() # Run this until it returns True
36+
mip.install("github:simonprickett/microcrate")
37+
```
2838

2939
## Using the Driver in a MicroPython Script
3040

0 commit comments

Comments
 (0)