FloKra 6 years ago
parent
commit
8dddc6b04e
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/WiFiSwitch/WiFiSwitch.ino

+ 3 - 3
src/WiFiSwitch/WiFiSwitch.ino

@@ -38,16 +38,16 @@
 // GPIO 1 = TX and 3=RX, so could only be used when no UART is needed (using only TX for debug output and RX as GPIO3 is possible)
 // some GPIOs go high for some time at boot, so using only active-low logic is advisable, particularly for switching outputs
 #define RELAIS_COUNT 1
-#define PIN_RELAIS1 12
+#define PIN_RELAIS1 2
 #define PIN_RELAIS2 4
 #define PIN_RELAIS3 5
 
 #define BUTTONS_COUNT 1
 #define PIN_BUTTON1 0
-#define PIN_BUTTON2 2
+#define PIN_BUTTON2 12
 #define PIN_BUTTON3 13
 
-#define RELAISONSTATE HIGH
+#define RELAISONSTATE LOW
 #define BUTTONONSTATE LOW