File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -297,14 +297,14 @@ change **\<PIN\>** and **\<APN\>** suitable to your SIM card.
297
297
298
298
2 . Copy files into device
299
299
``` commandline
300
- > ampy -pCOMXX put umqttrobust.py
301
- > ampy -pCOMXX put simple.py
302
- > ampy -pCOMXX put LiveObjects // It will copy directory with its content
300
+ > ampy --port COMx put umqttrobust.py
301
+ > ampy --port COMx put simple.py
302
+ > ampy --port COMx put LiveObjects // It will copy directory with its content
303
303
```
304
304
3 . Prepare your script and save it as ` main.py ` then copy file into device.
305
305
You can use one of example ones (` 1_send_data.py ` , ...) renaming it to ` main.py `
306
306
``` Shell
307
- > ampy -pCOMXX put main.py
307
+ > ampy --port COMx put main.py
308
308
```
309
309
310
310
@@ -364,7 +364,7 @@ Example of wiring ESP32 board with GPIO22 and GPIO21 (_source: https://randomner
364
364
#### How to use ####
365
365
1 . You need to upload additional library for VL6180X support (it is placed in ` micropython ` folder):
366
366
``` commandline
367
- > ampy -pCOMXX put vl6180x_micro.py
367
+ > ampy --port COMx put vl6180x_micro.py
368
368
```
369
369
2 . Copy ` 7_distance_and_light_sensor.py ` as ` main.py ` and upload it into board.
370
370
@@ -389,4 +389,4 @@ After above operations you can see:
389
389
390
390
391
391
## Troubleshooting ##
392
- If you are getting 'MQTT exception: 5' check your api key
392
+ If you are getting 'MQTT exception: 5' check your api key
You can’t perform that action at this time.
0 commit comments