   ACC_getADC(); // read raw accel data
 
   for(axis = 0; axis < 3; axis++)
-    accelFloat[axis]=accADC[axis]; // raw data from int array to float array also give the option to filter if necessary 
+    accLPF[axis] = accLPF[axis] * (1.0f - (1.0f/ACC_LPF_FACTOR)) + accADC[axis] * (1.0f/ACC_LPF_FACTOR);
+    //accelFloat[axis] = accLPF[axis]; // raw data from int array to float array also give the option to filter if necessary 
   
     static uint16_t previousT;
     uint16_t currentT = micros(); // set current time 

      prevTime = micros();
    } 
    loopCount++; 

}
// ************************************************************************************************************
// Helper Functions

	  calSum = 0;
  }

  delay(2000); // so people can see sick logo ;)
  display.clearDisplay();
  display.display();
}
