Skip to content

Commit 33edd00

Browse files
authored
Update README.md
1 parent 52183a1 commit 33edd00

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -297,14 +297,14 @@ change **\<PIN\>** and **\<APN\>** suitable to your SIM card.
297297

298298
2. 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
```
304304
3. Prepare your script and save it as `main.py` then copy file into device.
305305
You 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 ####
365365
1. 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
```
369369
2. 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

0 commit comments

Comments
 (0)