Config ADXL345 sensor with a lower sampling time and removed hard-coded delay