Either the button is stuck or something else creates jitters - changing signal - that the watch picks up fires the method. Since you tried it on multiple pucks, I do not think that it is cause by some hardware issue. What is the software setup that you nave? Could you please post (part of) your code
(at least the part that covers the control/invocation path from catching the button press thru the invocation of the sending the press. Did you use a pinMode(,"xxxx") with xxx = "input_pulldown" or "input_pullp" to make the input not float around and catch electro smog?
© Espruino, powered by microcosm.
Report a problem