You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-10Lines changed: 11 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -18,30 +18,31 @@ ease of use, and code completion features. Arduino IDE is also supported.
18
18
19
19
### PlatformIO
20
20
21
-
* Download and extract the PlatformIO package from the [Releases](https://github.com/avnet-iotconnect/iotc-arduino-sdk/packages)
21
+
*Clone this repository, or Download and extract the PlatformIO package from the [Releases](https://github.com/avnet-iotconnect/iotc-arduino-sdk/packages)
22
22
page into a directory of your choosing.
23
23
* Download and install Microsoft [Visual Studio Code](https://code.visualstudio.com/download) (VSCode) for your OS.
24
24
* Open VSCode and in the menu navigate to **View -> Extensions**.
25
25
* Search for *PlatformIO* and install the **Platform IO IDE** extension.
26
-
* Open the PlatformIO plugin in the left sidebar and navigate to **PIO Home -> Open** on the left side panel.
26
+
* Open the PlatformIO plugin in the lft sidebar and navigate to **PIO Home -> Open** on the left side panel.
27
27
* Click the **Open Project** button and navigate to the directory containing platformio.ini, where the project is extracted.
28
28
* Click the **Open <projectname>** button in the dialog.
29
29
* Click **Yes** when asked about trusting the authors.
30
30
* Modify *include/wifi_config.h* and *include/app_config.h* per your WiFi, IoTConnect device, and account credentials.
31
-
* Connect the device, open the PlatformIO extension in the sidebar and click **Genral -> esp32thing -> Upload and Monitor**
31
+
* Connect the device, open the PlatformIO extension in the sidebar and click **General -> esp32thing -> Upload and Monitor**
32
32
in order to upload the code to your device and see the device console messages.
33
33
34
34
### Arduino IDE
35
35
36
-
* Download and extract the Arduino ID package from the [Releases](https://github.com/avnet-iotconnect/iotc-arduino-sdk/packages)
36
+
* Download and extract the Arduino IDE package from the [Releases](https://github.com/avnet-iotconnect/iotc-arduino-sdk/packages)
37
37
page into a directory of your choosing.
38
38
* Download and install [Arduino IDE](https://www.arduino.cc/en/software) for your OS.
39
-
* Open the file explorer and open esp-sensors-demo.ino file in the directory of the extracted package.
40
-
Alternatively, you can open the IDE and open a new sketch.
41
-
* Using the **Sketch -> Include Library** menu item,
42
-
install the PubSubClient and LibPrintf (using the zip URL) packages as listed in the dep_libs section
43
-
of the [platfromio.ini](platfromio.ini) file.
39
+
* Open the file explorer and open esp-sensors-demo.ino file in the examples/esp-sensors-demo directory of the extracted package.
40
+
Alternatively, you can open the IDE and open this sketch by using the **File -> Open** menu option.
41
+
* Select the **Sketch -> Include Library -> Add .ZIP Library** menu item,
42
+
and *Open* the downloaded IoTConnectSDK.ZIP, or the directory where it is extracted. this will install the IoTConnectSDK library.
43
+
* Using the **Sketch -> Include Library** menu item, install the PubSubClient library.
44
+
* If not using an ESP board, install the LibPrintf library (using the zip URL).
44
45
* Modify *wifi_config.h* and *app_config.h* per your WiFi, IoTConnect device, and account credentials.
45
46
* Connect the device, and click the **Upload** button. If the device fails to upload,
46
-
press the reset button on the board while the upload process is connecting -- while the dots and underscores are printed in the log
47
+
press the reset button on the board while the upload process is connecting -- while the dots and underscores are printed in the log.
47
48
* Select **Tools -> Serial Monitor** in the menu, in order to see the device console messages.
0 commit comments