   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 

  initSensors();        //initilizes sensors for sepecifics see Sensors.ino
  delay(100);
  Serial.begin(115200); //initilize serial communication with 115200 baudrate

  displayInit();        //initilizes I2C display and displays logo see more detail in helper functions


        Serial.read();
      }

      //Serial.print(pitchAngle);
      //Serial.print("\t\t");
      //Serial.print(deltaGyroAngle[0]);
      //Serial.print("\t\t");
      //Serial.print(pitchAccel);
      //Serial.print("\t\t");
      //Serial.print(pitchAngle);
      //Serial.print("\t\t");
      //Serial.println(rollAngle);
      //Serial.println(accVectorMagnitude);
      //Serial.println(pitchAngle);
}
