From 33edd0010779ff7757cf698ca061cb28072eca73 Mon Sep 17 00:00:00 2001 From: Tomasz Malek <81158833+tomekmalek@users.noreply.github.com> Date: Sun, 12 Mar 2023 12:32:00 +0100 Subject: [PATCH] Update README.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ea06cf0..ac12dfe 100644 --- a/README.md +++ b/README.md @@ -297,14 +297,14 @@ change **\** and **\** suitable to your SIM card. 2. Copy files into device ```commandline -> ampy -pCOMXX put umqttrobust.py -> ampy -pCOMXX put simple.py -> ampy -pCOMXX put LiveObjects // It will copy directory with its content +> ampy --port COMx put umqttrobust.py +> ampy --port COMx put simple.py +> ampy --port COMx put LiveObjects // It will copy directory with its content ``` 3. Prepare your script and save it as `main.py` then copy file into device. You can use one of example ones (`1_send_data.py`, ...) renaming it to `main.py` ```Shell -> ampy -pCOMXX put main.py +> ampy --port COMx put main.py ``` @@ -364,7 +364,7 @@ Example of wiring ESP32 board with GPIO22 and GPIO21 (_source: https://randomner #### How to use #### 1. You need to upload additional library for VL6180X support (it is placed in `micropython` folder): ```commandline -> ampy -pCOMXX put vl6180x_micro.py +> ampy --port COMx put vl6180x_micro.py ``` 2. Copy `7_distance_and_light_sensor.py` as `main.py` and upload it into board. @@ -389,4 +389,4 @@ After above operations you can see: ## Troubleshooting ## -If you are getting 'MQTT exception: 5' check your api key \ No newline at end of file +If you are getting 'MQTT exception: 5' check your api key