Replace pin by gpio (#631)
* replace _PIN by _GPIO * add mention about the goal of -all binaries * [breaking] change json key from "pin" to "gpio" for actuatorONOFF
This commit is contained in:
1 parent
c9de14e51a
commit
c9e6de1a1c
37 files changed
+198
-197
No files matched your search
@@ -37,13 +37,13 @@ extern void HCSR501toMQTT();
|
||||
#endif
|
||||
|
||||
/*-------------------PIN DEFINITIONS----------------------*/
|
||||
#ifndef HCSR501_PIN
|
||||
#ifndef HCSR501_GPIO
|
||||
# if defined(ESP8266)
|
||||
# define HCSR501_PIN D5
|
||||
# define HCSR501_GPIO D5
|
||||
# elif defined(ESP32)
|
||||
# define HCSR501_PIN 5
|
||||
# define HCSR501_GPIO 5
|
||||
# else
|
||||
# define HCSR501_PIN 7
|
||||
# define HCSR501_GPIO 7
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user