File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ Code uses MQTT connection to exchange data with Live objects under the hood to k
2323This code needs a few libraries to run:
2424- Python needs [ paho-mqtt] ( https://pypi.org/project/paho-mqtt/ )
2525 - Python for Windows needs [ python-certifi-win32] ( https://pypi.org/project/python-certifi-win32/ )
26- - uPython needs [ umqttsimple, umqttrobust and ssl ] ( https://github.com/micropython/micropython-lib )
26+ - uPython needs [ umqttsimple] ( https://github.com/micropython/micropython-lib/blob/master/micropython/umqtt.simple/umqtt/simple.py ) and [ umqttrobust ] ( https://github.com/micropython/micropython-lib/blob/master/micropython/umqtt.robust/umqtt/robust.py )
2727
2828## How to use ##
2929
@@ -318,20 +318,21 @@ You can use one of example ones (`1_send_data.py`, ...) renaming it to `main.py`
318318
319319After all steps content of the device should look like below:
320320``` commandline
321- > ampy -pCOMXX ls
321+ > ampy --port COMx ls
322322/LiveObjects
323323/boot.py
324324/main.py
325325/umqttrobust.py
326326/simple.py
327327
328- > ampy -pCOMXX ls LiveObjects
328+ > ampy --port COMx ls LiveObjects
329329/LiveObjects/Connection.py
330330/LiveObjects/__init__.py
331331/LiveObjects/hal.py
332332/LiveObjects/credentials.py
333333/LiveObjects/services.py
334334```
335+ where COMx means port on your computer (e.g. COM8) with connected microPython board.
335336
336337## Example for LoPy / GPy ##
337338
@@ -369,15 +370,15 @@ Example of wiring ESP32 board with GPIO22 and GPIO21 (_source: https://randomner
369370
370371After above operations you can see:
371372``` commandline
372- > ampy -pCOMXX ls
373+ > ampy --port COMx ls
373374/LiveObjects
374375/boot.py
375376/main.py
376377/umqttrobust.py
377378/simple.py
378379/vl6180x_micro.py
379380
380- > ampy -pCOMXX ls LiveObjects
381+ > ampy --port COMx ls LiveObjects
381382/LiveObjects/Connection.py
382383/LiveObjects/__init__.py
383384/LiveObjects/hal.py
You can’t perform that action at this time.
0 commit comments