• Hi - is your Puck firmware up to date (2v08)?

    accelOff should definitely work! What if you just try something simple like:

    Puck.on('accel', function(data) { digitalPulse(LED1,1,10); });
    Puck.accelOn();
    // LED should  blink
    // Now run Puck.accelOff()
    

    What you've got there definitely all seems ok to me. What I can see though is you're using connected but don't seem to be defining it anywhere, so when accelerometerEnabled is false, line 48 will probably cause an error, and that could be causing some issues for you?

About

Avatar for Gordon @Gordon started