• there should be a reference to a function e.g.
    setWatch(myhandler, BTN4, {edge:"falling", debounce:50, repeat:true});
    I'm a the moment a bit unsure whether an arrow function can deliver this. Maybe try an anonymous function().

About

Avatar for Tx @Tx started