Change GPIO input default pin for ESP
#528 as it is generating conflict with TRIGGER_PIN (used for reseting and erasing the flash)
This commit is contained in:
1 parent
033a583f0a
commit
a2e23ab79b
1 file changed
+1
-1
@@ -36,7 +36,7 @@ extern void GPIOInputtoMQTT();
|
|||||||
/*-------------------PIN DEFINITIONS----------------------*/
|
/*-------------------PIN DEFINITIONS----------------------*/
|
||||||
#ifndef GPIOInput_PIN
|
#ifndef GPIOInput_PIN
|
||||||
#if defined(ESP8266) || defined(ESP32)
|
#if defined(ESP8266) || defined(ESP32)
|
||||||
#define GPIOInput_PIN 14
|
#define GPIOInput_PIN 13
|
||||||
#else
|
#else
|
||||||
#define GPIOInput_PIN 7
|
#define GPIOInput_PIN 7
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in new issue
Block a user