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.
297297
2982982 . Copy files into device
299299``` 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
303303```
3043043 . Prepare your script and save it as ` main.py ` then copy file into device.
305305You can use one of example ones (` 1_send_data.py ` , ...) renaming it to ` main.py `
306306``` Shell
307- > ampy -pCOMXX put main.py
307+ > ampy --port COMx put main.py
308308```
309309
310310
@@ -364,7 +364,7 @@ Example of wiring ESP32 board with GPIO22 and GPIO21 (_source: https://randomner
364364#### How to use ####
3653651 . You need to upload additional library for VL6180X support (it is placed in ` micropython ` folder):
366366``` commandline
367- > ampy -pCOMXX put vl6180x_micro.py
367+ > ampy --port COMx put vl6180x_micro.py
368368```
3693692 . Copy ` 7_distance_and_light_sensor.py ` as ` main.py ` and upload it into board.
370370
@@ -389,4 +389,4 @@ After above operations you can see:
389389
390390
391391## 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