Try this as the datasheet mentions that setup has to come before enable accel.interrupts(0,0); accel.interrupts(4,0);
@ClearMemory041063 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.
Try this as the datasheet mentions that setup has to come before enable
accel.interrupts(0,0);
accel.interrupts(4,0);