Just check out the library, then port the code. I2C Wiring Use this wiring if you want to connect via I2C interface Connect Vin to the power supply, 3-5V is fine. (red wire on STEMMA QT version) Use the same vo
If you don't end up using the manger, you'll need to move theSparkFun_LIS3DH_Arduino_Libraryfolder into alibrariesfolder within your Arduino sketchbook. Example: I2C, analog, and interrupts The first circuit allows a RedBoard to talk to the LIS3DH over I2C and provides connections on th...