Skip to content

Instantly share code, notes, and snippets.

@gantrim
Created March 26, 2019 21:39
Show Gist options
  • Save gantrim/f0cbc058f82c8c64f286c3e3c85a9600 to your computer and use it in GitHub Desktop.
Save gantrim/f0cbc058f82c8c64f286c3e3c85a9600 to your computer and use it in GitHub Desktop.
Server Room Temp Monitor - Declarations
#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