diff --git a/esp-deckenlicht.ino b/esp-deckenlicht.ino index b46cc0f..3e207d1 100644 --- a/esp-deckenlicht.ino +++ b/esp-deckenlicht.ino @@ -167,7 +167,7 @@ void setup() { pinMode(PIN_LIGHT2, OUTPUT); pinMode(PIN_LIGHT3, OUTPUT); - debouncer.attach(SENSOR_PIN,INPUT); + debouncer.attach(PIN_SENSOR,INPUT); debouncer.interval(50);