SENSOR_PIN -> PIN_SENSOR
This commit is contained in:
parent
cbe6dfc7d2
commit
a214c0d776
|
@ -167,7 +167,7 @@ void setup() {
|
||||||
pinMode(PIN_LIGHT2, OUTPUT);
|
pinMode(PIN_LIGHT2, OUTPUT);
|
||||||
pinMode(PIN_LIGHT3, OUTPUT);
|
pinMode(PIN_LIGHT3, OUTPUT);
|
||||||
|
|
||||||
debouncer.attach(SENSOR_PIN,INPUT);
|
debouncer.attach(PIN_SENSOR,INPUT);
|
||||||
debouncer.interval(50);
|
debouncer.interval(50);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue