From 8d38fe6385cdcfba323d74daab4461c3ee4f23f4 Mon Sep 17 00:00:00 2001 From: Steven Date: Tue, 7 Apr 2020 18:57:08 -0500 Subject: [PATCH] upip install --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6a5548d..f1c1c36 100644 --- a/README.md +++ b/README.md @@ -28,9 +28,15 @@ I strongly recommend using [rshell](https://github.com/dhylands/rshell). Now available with upip, could be installed with: ``` python import upip +import network +from time import sleep +wlan=network.WLAN(network.STA_IF) +wlan.active(True) +wlan.connect('', '') +sleep(5) upip.install('micropython-rosserial') ``` -If `micropython-rosserial` is installed, because of requirementes, `ugenpy` and `TopicInfo` will too. +If `micropython-rosserial` is installed, because of requirements, `ugenpy` and `TopicInfo` will too. >Note: must be connected to WiFi to use upip like this. **Have in mind before publishing or subscribing to a topic, the message class must be generated with `ugenpy`**