Also, to check it's working, you could also try reading back the values with port.readPort() and see if you can get them to change by connecting pins to 3.3v or 0v?
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.
Have you set the pin mode to output?
Also, to check it's working, you could also try reading back the values with
port.readPort()
and see if you can get them to change by connecting pins to 3.3v or 0v?