• What board are you using? Looks like it's not an Espruino one given you're using the falling edge?

    Some other boards have really cheap buttons that don't always work, and some may not have pullup/down resistors, which would mean than when not pressed the signal would 'float'


Avatar for Gordon @Gordon started