void ADXL345::setFifoControl(int settings){ oneByteWrite(ADXL345_FIFO_STATUS, settings);//must be ...FIFI_CTL }

corrected error in void ADXL345::setFifoControl(int settings){

oneByteWrite(ADXL345_FIFO_STATUS, settings); must be ADXL345_FIFO_CTL

}