It's a bug in the code I posted - as I don't have anything here to test with. REG.POINTER_CONFIG should be REG.CONFIG. If you change that in the code it might work?
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.
It's a bug in the code I posted - as I don't have anything here to test with.
REG.POINTER_CONFIG
should beREG.CONFIG
. If you change that in the code it might work?Same with
REG.POINTER_CONVERT
toREG.CONVERT