These lines are only supposed to be executed once in setup and not for each loop:
debouncer.attach(pin1);
debouncer.interval(5);
You need one debouncer for each pin.
These lines are only supposed to be executed once in setup and not for each loop:
debouncer.attach(pin1);
debouncer.interval(5);
You need one debouncer for each pin.