Accelerometer sampling and interrupts are working