|
|
@ -2174,13 +2174,19 @@ |
|
|
|
// Buttons |
|
|
|
#define BUTTON1_PIN 12 |
|
|
|
#define BUTTON1_RELAY 1 |
|
|
|
#define BUTTON1_MODE BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH |
|
|
|
#define BUTTON1_MODE BUTTON_SWITCH | BUTTON_DEFAULT_HIGH //Hardware Pullup |
|
|
|
|
|
|
|
#define BUTTON2_PRESS BUTTON_MODE_NONE |
|
|
|
#define BUTTON1_CLICK BUTTON_MODE_TOGGLE |
|
|
|
#define BUTTON1_DBLCLICK BUTTON_MODE_NONE |
|
|
|
#define BUTTON1_LNGCLICK BUTTON_MODE_NONE |
|
|
|
#define BUTTON1_LNGLNGCLICK BUTTON_MODE_NONE |
|
|
|
|
|
|
|
#define BUTTON2_PIN 13 |
|
|
|
#define BUTTON2_RELAY 2 |
|
|
|
#define BUTTON2_MODE BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH |
|
|
|
#define BUTTON2_MODE BUTTON_SWITCH | BUTTON_DEFAULT_HIGH //Hardware Pullup |
|
|
|
|
|
|
|
#define BUTTON2_CLICK BUTTON_MODE_TOGGLE |
|
|
|
|
|
|
|
// Relays |
|
|
|
#define RELAY1_PIN 4 |
|
|
|