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
23
23
This code needs a few libraries to run:
24
24
- Python needs [ paho-mqtt] ( https://pypi.org/project/paho-mqtt/ )
25
25
- 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 )
27
27
28
28
## How to use ##
29
29
@@ -318,20 +318,21 @@ You can use one of example ones (`1_send_data.py`, ...) renaming it to `main.py`
318
318
319
319
After all steps content of the device should look like below:
320
320
``` commandline
321
- > ampy -pCOMXX ls
321
+ > ampy --port COMx ls
322
322
/LiveObjects
323
323
/boot.py
324
324
/main.py
325
325
/umqttrobust.py
326
326
/simple.py
327
327
328
- > ampy -pCOMXX ls LiveObjects
328
+ > ampy --port COMx ls LiveObjects
329
329
/LiveObjects/Connection.py
330
330
/LiveObjects/__init__.py
331
331
/LiveObjects/hal.py
332
332
/LiveObjects/credentials.py
333
333
/LiveObjects/services.py
334
334
```
335
+ where COMx means port on your computer (e.g. COM8) with connected microPython board.
335
336
336
337
## Example for LoPy / GPy ##
337
338
@@ -369,15 +370,15 @@ Example of wiring ESP32 board with GPIO22 and GPIO21 (_source: https://randomner
369
370
370
371
After above operations you can see:
371
372
``` commandline
372
- > ampy -pCOMXX ls
373
+ > ampy --port COMx ls
373
374
/LiveObjects
374
375
/boot.py
375
376
/main.py
376
377
/umqttrobust.py
377
378
/simple.py
378
379
/vl6180x_micro.py
379
380
380
- > ampy -pCOMXX ls LiveObjects
381
+ > ampy --port COMx ls LiveObjects
381
382
/LiveObjects/Connection.py
382
383
/LiveObjects/__init__.py
383
384
/LiveObjects/hal.py
You can’t perform that action at this time.
0 commit comments