|
|
@ -164,6 +164,9 @@ |
|
|
|
#define BUTTON1_PIN 0 |
|
|
|
#define BUTTON1_MODE BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH |
|
|
|
#define BUTTON1_RELAY 1 |
|
|
|
#define BUTTON2_PIN 14 |
|
|
|
#define BUTTON2_MODE BUTTON_SWITCH | BUTTON_SET_PULLUP |
|
|
|
#define BUTTON2_RELAY 1 |
|
|
|
|
|
|
|
// Relays |
|
|
|
#define RELAY1_PIN 12 |
|
|
@ -183,6 +186,9 @@ |
|
|
|
#define BUTTON1_PIN 0 |
|
|
|
#define BUTTON1_MODE BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH |
|
|
|
#define BUTTON1_RELAY 1 |
|
|
|
#define BUTTON2_PIN 14 |
|
|
|
#define BUTTON2_MODE BUTTON_SWITCH | BUTTON_SET_PULLUP |
|
|
|
#define BUTTON2_RELAY 1 |
|
|
|
|
|
|
|
// Relays |
|
|
|
#define RELAY1_PIN 12 |
|
|
@ -342,8 +348,8 @@ |
|
|
|
#define BUTTON1_RELAY 1 |
|
|
|
#define BUTTON2_RELAY 2 |
|
|
|
#define BUTTON3_RELAY 1 |
|
|
|
#define BUTTON1_MODE BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH |
|
|
|
#define BUTTON2_MODE BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH |
|
|
|
#define BUTTON1_MODE BUTTON_SWITCH | BUTTON_SET_PULLUP |
|
|
|
#define BUTTON2_MODE BUTTON_SWITCH | BUTTON_SET_PULLUP |
|
|
|
#define BUTTON3_MODE BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH |
|
|
|
|
|
|
|
// Relays |
|
|
|