• thank you; i tried and it returns a different error:

    Uncaught ReferenceError: "A1" is not defined

    I think that's to be expected: since the device is a Bangle.js, the only 'pins' available are LED1 and LED2 (as far as i can tell); also, i don't understand why each pin appears twice in your example...

    the binary representation of the number yields the same effect, using the pins i'm interested in:

    digitalWrite([LED1,LED2],0b0001) => Uncaught Error: Invalid pin!
    digitalWrite([LED1,LED2],0b0010) => Uncaught Error: Invalid pin!
    digitalWrite([LED1,LED2],0b0100) => Uncaught Error: Invalid pin!
    digitalWrite([LED1,LED2],0b1000) => Uncaught Error: Invalid pin!

    It looks like on the watch the virtual pins "LED1\2" work only if used one at a time, not both.
    Could that be the case?

About

Avatar for user112894 @user112894 started