You are writing to the command register at 0x80 but i would expect it to be at 0x00
Many chips use the top bit of the register address to specify a write to that register - so that could be a reason?
@Gordon started
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.
Many chips use the top bit of the register address to specify a write to that register - so that could be a reason?