Ahh, yes. I've come across that before - it's the code that converts from the pin name to a pin number - usually it does PORTB_OFFSET+NUMBER, but that doesn't work in this case.
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.
Ahh, yes. I've come across that before - it's the code that converts from the pin name to a pin number - usually it does PORTB_OFFSET+NUMBER, but that doesn't work in this case.
Try adding the board to this: https://github.com/espruino/Espruino/blob/master/src/jspin.c#L24
There really needs to be a better way of handling it.