diff options
author | Steven <steven.vasilogianis@gmail.com> | 2021-09-30 17:08:35 -0400 |
---|---|---|
committer | Steven <steven.vasilogianis@gmail.com> | 2021-09-30 17:08:35 -0400 |
commit | 55c2e51976c9612752b186112cc5e96d9569b516 (patch) | |
tree | 319ff725bfc7694289fc20f6ebfa67f2f402b940 /src/main/main.ino | |
parent | 38ee8efec07aba1766fa100a54f241df7734beb1 (diff) |
andy was here
Diffstat (limited to 'src/main/main.ino')
-rw-r--r-- | src/main/main.ino | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/main.ino b/src/main/main.ino index d6f41d5..8f9dbd1 100644 --- a/src/main/main.ino +++ b/src/main/main.ino | |||
@@ -12,14 +12,15 @@ | |||
12 | #include "ota.h" | 12 | #include "ota.h" |
13 | 13 | ||
14 | // Tempature + Humidity Sensor | 14 | // Tempature + Humidity Sensor |
15 | #include <WiFiClient.h> | ||
15 | #include <DHT.h> | 16 | #include <DHT.h> |
16 | #define DHTPIN 12 | 17 | #define DHTPIN 12 |
17 | #define DHTTYPE DHT11 | 18 | #define DHTTYPE DHT11 |
18 | DHT dht(DHTPIN, DHTTYPE); | 19 | DHT dht(DHTPIN, DHTTYPE); |
19 | 20 | ||
20 | void setup () { | 21 | void setup () { |
21 | setupWifi("mush"); | 22 | setupWifi((char *) hostname); |
22 | setupOTA("mush"); | 23 | setupOTA((char *) hostname); |
23 | 24 | ||
24 | Serial.begin(115200); | 25 | Serial.begin(115200); |
25 | Serial.println(F("Mushing...")); | 26 | Serial.println(F("Mushing...")); |