Well, I was trying to think of a way around this - possibly converting the pin to an integer - which would work fine for digitalWrite/etc - the only problem would be if you tried to use a pin.read/write/set/reset
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Well, I was trying to think of a way around this - possibly converting the pin to an integer - which would work fine for digitalWrite/etc - the only problem would be if you tried to use a
pin.read/write/set/reset