• Are those \n part of your code, or just a copy/paste issue?

    One thing that might be worth trying is debounce:20 just in case something odd is happening caused by the button contacts bouncing and queuing up lots of changes?

    Could you also add something like LED.set() at the beginning of the setWatch and LED.reset() at the end? The LED should flicker on if everything has worked, but if for whatever reason there was an error executing to the end of the code then the LED will stay on


Avatar for Gordon @Gordon started