Skip to content

Commit 8d38fe6

Browse files
committed
upip install
1 parent 3b14b28 commit 8d38fe6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,15 @@ I strongly recommend using [rshell](https://github.com/dhylands/rshell).
2828
Now available with upip, could be installed with:
2929
``` python
3030
import upip
31+
import network
32+
from time import sleep
33+
wlan=network.WLAN(network.STA_IF)
34+
wlan.active(True)
35+
wlan.connect('<ssid>', '<password>')
36+
sleep(5)
3137
upip.install('micropython-rosserial')
3238
```
33-
If `micropython-rosserial` is installed, because of requirementes, `ugenpy` and `TopicInfo` will too.
39+
If `micropython-rosserial` is installed, because of requirements, `ugenpy` and `TopicInfo` will too.
3440
>Note: must be connected to WiFi to use upip like this.
3541
3642
**Have in mind before publishing or subscribing to a topic, the message class must be generated with `ugenpy`**

0 commit comments

Comments
 (0)