Browse Source

Add config for push button of Arilux AL-LC06 (#1794)

Button is not visible from the outside, but can be wired outside or made more accessible by using a thin object, so it feels more like a button than a hole. The configuration should not cause issues if the button is not used at all.
master
Vencislav Atanasov 5 years ago
committed by Max Prokhorov
parent
commit
746ad7062d
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      code/espurna/config/hardware.h

+ 5
- 0
code/espurna/config/hardware.h View File

@ -1681,6 +1681,11 @@
#define LIGHT_PROVIDER LIGHT_PROVIDER_DIMMER #define LIGHT_PROVIDER LIGHT_PROVIDER_DIMMER
#define DUMMY_RELAY_COUNT 1 #define DUMMY_RELAY_COUNT 1
// Buttons
#define BUTTON1_PIN 0
#define BUTTON1_MODE BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH
#define BUTTON1_RELAY 1
// Light // Light
#define LIGHT_CHANNELS 5 #define LIGHT_CHANNELS 5
#define LIGHT_CH1_PIN 14 // RED #define LIGHT_CH1_PIN 14 // RED


Loading…
Cancel
Save