• Also for others who may stumble upon this...I found out after reading the datasheets of the accelerometer and digging into the Espruino code for acceleration on the puck and it seems to be that the Puck's accelerometer is being put into low-power consumption mode which has a max polling rate of only 52Hz, but by doing the following two lines after Puck.accelOn(interval):

        Puck.accelOn(1660);
        Puck.accelWr('0x15', '0x00');
        Puck.accelWr('0x16', '0x00');
    

    It should put the accelerometer chip into "high-performance operating mode enabled" which can allow up to 6.66kHz, but the max the puck can handle (based on documentation) is 1.66Hz. Note that battery consumption will be more, however.

    I believe this happens here in the Espruino code: https://github.com/espruino/Espruino/blo­b/3fbcd63bc327de67c88bf19efd9e4776249ebd­3e/libs/puckjs/jswrap_puck.c#L528-L542

About

Avatar for mc9311 @mc9311 started