diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2018-04-26 19:46:03 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2018-04-26 19:46:03 +0200 |
commit | 02e2780d233c2d73fcbd32a2a970d5a6f3696224 (patch) | |
tree | 2e0e008622b22f921857e297197836c8f563365a /assignments/read-temperature/solution | |
parent | 4c9176f3a07ea8c10301e08f659e3781f69d7a7c (diff) | |
download | iot-workshop-02e2780d233c2d73fcbd32a2a970d5a6f3696224.tar.gz iot-workshop-02e2780d233c2d73fcbd32a2a970d5a6f3696224.tar.bz2 iot-workshop-02e2780d233c2d73fcbd32a2a970d5a6f3696224.tar.xz iot-workshop-02e2780d233c2d73fcbd32a2a970d5a6f3696224.zip |
wip
Diffstat (limited to 'assignments/read-temperature/solution')
-rw-r--r-- | assignments/read-temperature/solution/read-temperature/read-temperature.ino | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/assignments/read-temperature/solution/read-temperature/read-temperature.ino b/assignments/read-temperature/solution/read-temperature/read-temperature.ino new file mode 100644 index 0000000..71e860e --- /dev/null +++ b/assignments/read-temperature/solution/read-temperature/read-temperature.ino @@ -0,0 +1,14 @@ +#include <DHT.h> +#include <DHT_U.h> + +const auto DHTPIN = D1; +const auto DHTTYPE = DHT22; + +DHT_Unified dht(DHTPIN, DHTTYPE); + +void setup() { +} + +void loop() { +} + |