You need to connect ADXL345 to your Raspberry Pi via SPI. Note that the I2C connection, which is suggested by ADXL345 documentation, has too low throughput and **will not work**. The recommended connection scheme:
Du må koble ADXL345 til din Raspberry Pi via SPI. Merk at I2C-tilkoblingen, som foreslås av ADXL345-dokumentasjonen, har for lav gjennomstrømning og vil ikke fungere. Anbefalt tilkoblingsskjema: