You've got the WREN line commented out in your .js file in write(). I don't think it should be - the datasheet seems to imply that you do need to send the WREN command (0x06) before each write command.
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.
You've got the WREN line commented out in your .js file in write(). I don't think it should be - the datasheet seems to imply that you do need to send the WREN command (0x06) before each write command.