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: examples/dht_example/README.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -8,14 +8,14 @@ The `dht_example` program illustrates use of the DHT API by taking a temperature
8
8
9
9
For this application, you will need:
10
10
11
-
* An ESP32 device, flashed with the [AtomVM](https://github.com/bettio/AtomVM) image (including the VM and core libraries), and capable of connecting via UART to your development machine;
11
+
* An ESP32 device, flashed with the [AtomVM](https://github.com/atomvm/AtomVM) image (including the VM and core libraries), containing the `atomvm_dht` Nif, and capable of connecting via UART to your development machine;
12
12
* A DHT11 or DHT22 device, typically marketed as an integrated development board;
13
13
* The [`esptool.py`](https://github.com/espressif/esptool) tool (for flashing);
14
14
* The [`git`](https://git-scm.com) version control tool;
15
15
*[Erlang/OTP 21](https://www.erlang.org) or higher, along with [`rebar3`](https://www.rebar3.org);
16
16
* A serial monitor program of your choice (e.g, [`minicom`](https://en.wikipedia.org/wiki/Minicom))
17
17
18
-
While the [IDF SDK](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/) and required toolchains are not required, they may make life a little easier.
18
+
> Note that you will need to build a version of the AtomVM virtual machine that includes the `atomvm_dht` Nif.
19
19
20
20
## Getting Started
21
21
@@ -37,9 +37,9 @@ To run this example program, connect the positive (+) lead on the DHT device to
37
37
38
38
To build and flash this application to your ESP32 device, issue the `esp32_flash` target to the `rebar3` command, and optionally specify the device port and baud rate, if they do not match the defaults.
39
39
40
-
> Note. For information about the `esp32_flash` target, see the [`atomvm_rebar3_plugin`](https://github.com/atomvm/atomvm_rebar3_plugin) instructions.
40
+
> Note. For information about the `esp32_flash` target, see the [`atomvm_rebar3_plugin`](https://atomvm.github.io/atomvm_rebar3_plugin) instructions.
Copy file name to clipboardExpand all lines: markdown/dht.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -10,11 +10,11 @@ The AtomVM DHT library is only supported on the ESP32 platform.
10
10
11
11
The AtomVM DHT library is implemented as an AtomVM component, which includes some native C code that must be linked into the ESP32 AtomVM image. In order to build and deploy this client code, you must build an AtomVM binary image with this component included.
12
12
13
-
For general instructions about how to build AtomVM and include third-party components into an AtomVM image, see the [AtomVM Build Instructions](https://doc.atomvm.net/build-instructions.html).
13
+
For general instructions about how to build AtomVM and include third-party components into an AtomVM image, see the [AtomVM Build Instructions](https://www.atomvm.net/doc/master/build-instructions.html).
14
14
15
-
Once the AtomVM image including this component has been built, you can flash the image to your ESP32 device. For instructions about how to flash AtomVM images to your ESP32 device, see the AtomVM [Getting Started Guide](https://doc.atomvm.net/getting-started-guide.html).
15
+
Once the AtomVM image including this component has been built, you can flash the image to your ESP32 device. For instructions about how to flash AtomVM images to your ESP32 device, see the AtomVM [Getting Started Guide](https://www.atomvm.net/doc/master/getting-started-guide.html).
16
16
17
-
Once the AtomVM image including this component has been flashed to your ESP32 device, you can then include this project into your [`rebar3`](https://www.rebar3.org) project using the [`atomvm_rebar3_plugin`](https://github.com/atomvm/atomvm_rebar3_plugin), which provides targets for building AtomVM packbeam files and flashing them to your device.
17
+
Once the AtomVM image including this component has been flashed to your ESP32 device, you can then include this project into your [`rebar3`](https://www.rebar3.org) project using the [`atomvm_rebar3_plugin`](https://atomvm.github.io/atomvm_rebar3_plugin), which provides targets for building AtomVM packbeam files and flashing them to your device.
0 commit comments