Skip to content

Commit

Permalink
Add config for push button of Arilux AL-LC06 (#1794)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
user890104 authored and mcspr committed Jun 29, 2019
1 parent 36f6c82 commit 746ad70
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions code/espurna/config/hardware.h
Original file line number Diff line number Diff line change
Expand Up @@ -1681,6 +1681,11 @@
#define LIGHT_PROVIDER LIGHT_PROVIDER_DIMMER
#define DUMMY_RELAY_COUNT 1

// Buttons
#define BUTTON1_PIN 0
#define BUTTON1_MODE BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH
#define BUTTON1_RELAY 1

// Light
#define LIGHT_CHANNELS 5
#define LIGHT_CH1_PIN 14 // RED
Expand Down

0 comments on commit 746ad70

Please sign in to comment.