KX134 Qwiic

I am working on using this KX13X g force sensor in the SPI configuration. I have it wired correctly to my Arduino UNO using pins 10-13 and have severed the connection on the ADP connector. How can I edit the example code provided so it works with the SPI wiring that I have done?

It’s the second line under “Device Setup” here https://learn.sparkfun.com/tutorials/tr … no-library; simply replace the default example using i2c with that one :smiley: