|
|
@ -21,6 +21,7 @@ |
|
|
|
#define BUTTON_PIN 0 |
|
|
|
#define RELAY_PIN 12 |
|
|
|
#define LED_PIN 13 |
|
|
|
#define LED_PIN_INVERSE 0 |
|
|
|
|
|
|
|
#elif defined(SONOFF_TH) |
|
|
|
|
|
|
@ -29,6 +30,7 @@ |
|
|
|
#define BUTTON_PIN 0 |
|
|
|
#define RELAY_PIN 12 |
|
|
|
#define LED_PIN 13 |
|
|
|
#define LED_PIN_INVERSE 0 |
|
|
|
|
|
|
|
#elif defined(SONOFF_POW) |
|
|
|
|
|
|
@ -37,6 +39,7 @@ |
|
|
|
#define BUTTON_PIN 0 |
|
|
|
#define RELAY_PIN 12 |
|
|
|
#define LED_PIN 15 |
|
|
|
#define LED_PIN_INVERSE 1 |
|
|
|
#define ENABLE_POW 1 |
|
|
|
|
|
|
|
#elif defined(SLAMPHER) |
|
|
@ -46,6 +49,7 @@ |
|
|
|
#define BUTTON_PIN 0 |
|
|
|
#define RELAY_PIN 12 |
|
|
|
#define LED_PIN 13 |
|
|
|
#define LED_PIN_INVERSE 0 |
|
|
|
|
|
|
|
#elif defined(S20) |
|
|
|
|
|
|
@ -54,6 +58,7 @@ |
|
|
|
#define BUTTON_PIN 0 |
|
|
|
#define RELAY_PIN 12 |
|
|
|
#define LED_PIN 13 |
|
|
|
#define LED_PIN_INVERSE 0 |
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------- |
|
|
|
// ESPurna board (still beta) |
|
|
@ -66,6 +71,7 @@ |
|
|
|
#define BUTTON_PIN 0 |
|
|
|
#define RELAY_PIN 12 |
|
|
|
#define LED_PIN 13 |
|
|
|
#define LED_PIN_INVERSE 0 |
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------- |
|
|
|
// Unknown hardware |
|
|
|