I was trying to put together the airharp and got a ADXL345 (https://learn.sparkfun.com/tutorials/adxl345-hookup-guide/all). However, when I looked at the connection diagram here: https://github.com/BelaPlatform/Bela/wiki/Example%20projects%20and%20tutorials#airharp, I realised that there is something different. My ADXL345 does not seem to have X, Y and Z as analog aout, I just have the usual SPI and I2C pins (as depicted here: https://cdn.sparkfun.com/r/500-500/assets/parts/3/9/0/2/09836-_01c.jpg)
Do you have any suggestion/advice?
The AirHarp is supposed to be used with an ADXL335, which has the three analog outputs. If you want to try and use the ADXL345, you'll have to do a bit of coding. Start by finding a Linux library that would deal with it. This is a possible candidate: https://github.com/cagayakemiracl/adxl345-i2c-linux
Otherwise, you can start from the Arduino library available here and re-write the SPI- or I2C-specific parts using regular Linux drivers. Are you using Bela or BelaMini?
thank you so so much for your quick reply and your help! I am on Bela (starter kit + bela cap).