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:
Leon Kiefer authored and GitHub committed 2020-06-09 16:09:23 -05:00
1 parent 661ef9c55e
commit 10a9d00aaf
59 files changed
+2892 -3640

No files matched your search

+8 -8
View File
@@ -40,23 +40,23 @@
extern void setupHCSR04();
extern void MeasureDistance();
#define HCSR04_always true // If false, the current value of the parameter is the same as previous one don't send it by MQTT
#define HCSR04_always true // If false, the current value of the parameter is the same as previous one don't send it by MQTT
#define TimeBetweenReadingHCSR04 5000
/*----------------------------USER PARAMETERS-----------------------------*/
/*-------------DEFINE YOUR MQTT PARAMETERS BELOW----------------*/
#define subjectHCSR04 "/DISTtoMQTT/sr04"
#define subjectHCSR04 "/DISTtoMQTT/sr04"
/*-------------------PIN DEFINITIONS----------------------*/
#if defined(ESP8266)
#define HCSR04_TRI_PIN D6
#define HCSR04_ECH_PIN D7
# define HCSR04_TRI_PIN D6
# define HCSR04_ECH_PIN D7
#elif defined(ESP32)
#define HCSR04_TRI_PIN 16 // NOT TESTED
#define HCSR04_ECH_PIN 17 // NOT TESTED
# define HCSR04_TRI_PIN 16 // NOT TESTED
# define HCSR04_ECH_PIN 17 // NOT TESTED
#else
#define HCSR04_TRI_PIN 6 // NOT TESTED
#define HCSR04_ECH_PIN 5 // NOT TESTED
# define HCSR04_TRI_PIN 6 // NOT TESTED
# define HCSR04_ECH_PIN 5 // NOT TESTED
#endif
#endif