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
@@ -34,11 +34,11 @@ extern void GPIOInputtoMQTT();
|
||||
#define GPIOInputDebounceDelay 60 //debounce time, increase if there are issues
|
||||
|
||||
/*-------------------PIN DEFINITIONS----------------------*/
|
||||
#ifndef GPIOInput_PIN
|
||||
#ifndef INPUT_GPIO
|
||||
# if defined(ESP8266) || defined(ESP32)
|
||||
# define GPIOInput_PIN 13
|
||||
# define INPUT_GPIO 13
|
||||
# else
|
||||
# define GPIOInput_PIN 7
|
||||
# define INPUT_GPIO 7
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user