Added clang-format (#623)
* added .clang-format * added names to travis jobs removed deprecated travis option * check github action * added .gitignore
This commit is contained in:
1 parent
661ef9c55e
commit
10a9d00aaf
59 files changed
+2892
-3640
No files matched your search
+9
-9
@@ -30,8 +30,8 @@ extern void setupDHT();
|
||||
extern void DHTtoMQTT();
|
||||
/*----------------------------USER PARAMETERS-----------------------------*/
|
||||
/*-------------DEFINE YOUR MQTT PARAMETERS BELOW----------------*/
|
||||
#define DHTTOPIC "/DHTtoMQTT/dht1"
|
||||
#define dht_always true // if false when the current value for temp or hum is the same as previous one don't send it by MQTT
|
||||
#define DHTTOPIC "/DHTtoMQTT/dht1"
|
||||
#define dht_always true // if false when the current value for temp or hum is the same as previous one don't send it by MQTT
|
||||
#define TimeBetweenReadingDHT 30000 // time between 2 DHT readings
|
||||
/*-------------DHT SENSOR TYPE-------------*/
|
||||
//#define DHT_SENSOR_TYPE DHT11 //uncomment for DHT11 Sensor
|
||||
@@ -39,13 +39,13 @@ extern void DHTtoMQTT();
|
||||
#define DHT_SENSOR_TYPE DHT22 //uncomment for DHT22 Sensor (default for backwards compatibility)
|
||||
/*-------------------PIN DEFINITIONS----------------------*/
|
||||
#ifndef DHT_RECEIVER_PIN
|
||||
#if defined(ESP8266)
|
||||
#define DHT_RECEIVER_PIN 5 //5 = D1 you can put 14 = D5 if you don't use HCSR501 sensor and the RFM69
|
||||
#elif defined(ESP32)
|
||||
#define DHT_RECEIVER_PIN 16
|
||||
#else
|
||||
#define DHT_RECEIVER_PIN 8
|
||||
#endif
|
||||
# if defined(ESP8266)
|
||||
# define DHT_RECEIVER_PIN 5 //5 = D1 you can put 14 = D5 if you don't use HCSR501 sensor and the RFM69
|
||||
# elif defined(ESP32)
|
||||
# define DHT_RECEIVER_PIN 16
|
||||
# else
|
||||
# define DHT_RECEIVER_PIN 8
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user