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
+3
-3
@@ -134,11 +134,11 @@ char gateway_name[parameters_size * 2] = Gateway_Name;
|
||||
|
||||
// VCC ------------D|-----------/\/\/\/\ ----------------- Arduino PIN
|
||||
// LED Resistor 270-510R
|
||||
#ifndef TRIGGER_PIN
|
||||
#ifndef TRIGGER_GPIO
|
||||
# ifdef ESP8266
|
||||
# define TRIGGER_PIN 14 // pin D5 as full reset button (long press >10s)
|
||||
# define TRIGGER_GPIO 14 // pin D5 as full reset button (long press >10s)
|
||||
# elif ESP32
|
||||
# define TRIGGER_PIN 0 // boot button as full reset button (long press >10s)
|
||||
# define TRIGGER_GPIO 0 // boot button as full reset button (long press >10s)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user