Last active
January 4, 2016 20:54
-
-
Save squix78/f8c5d1e8379886fbe6f9 to your computer and use it in GitHub Desktop.
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
/*************************** | |
* Begin Settings | |
**************************/ | |
const char* ssid = "yourssid"; | |
const char* password = "yourpassw0rd"; | |
const char* host = "api.thingspeak.com"; | |
const char* THINGSPEAK_API_KEY = "XXX"; | |
// DHT Settings | |
#define DHTPIN D6 // what digital pin we're connected to. If you are not using NodeMCU change D6 to real pin | |
// Uncomment whatever type you're using! | |
//#define DHTTYPE DHT11 // DHT 11 | |
#define DHTTYPE DHT22 // DHT 22 (AM2302), AM2321 | |
//#define DHTTYPE DHT21 // DHT 21 (AM2301) | |
const boolean IS_METRIC = true; | |
// Update every 600 seconds = 10 minutes. Min with Thingspeak is ~20 seconds | |
const int UPDATE_INTERVAL_SECONDS = 600; | |
/*************************** | |
* End Settings | |
**************************/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment