• Ahh, great - did it come up with any kind of error, or did it just crash without warning?

    I just realised something - try replacing HIGH with 1 and LOW with 0. Espruino doesn't define those constants, so they'll just be being read as undefined which will produce a logic 0.

About

Avatar for Gordon @Gordon started