Created
March 26, 2019 21:39
-
-
Save gantrim/f0cbc058f82c8c64f286c3e3c85a9600 to your computer and use it in GitHub Desktop.
Server Room Temp Monitor - Declarations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define DHTTYPE DHT22 | |
#define DHTPIN D4 | |
PietteTech_DHT DHT(DHTPIN, DHTTYPE); | |
double serverTempMax = 81; | |
double serverHumidityMax = 60; | |
double serverTemp; | |
double serverHumidity; | |
bool overheatDetected = false; | |
bool tooHumid = false; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment