diff options
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() { +} + |