Sparkfun KX132 accelerometer programming example on Sparkfun website

Let me apologize ahead of time, but I’m new to both Sparkfun products and Arduino. I’m attempting to use the KX132 programming example from the Sparkfun website. I have a ESP32 WROOM-32e connected via daisychain to the KX132. I’m communicating well with the ESP32, so no issues there. I’ve copied and pasted the code for the KX132 program example (on Sparkfun site), but keep getting compiling errors I don’t understand. I have the inclusions for the KX132 board:

#include <SparkFun_KX13X.h>

#include <SparkFun_KX13X_regs.h>

#include <SparkFun_Qwiic_KX13X.h>

#include <sfe_bus.h>

Would it be possible to post that completed program example for the KX132 (under the Hook-up Guide) so I can compare to what I have and see what I’ve done wrong?

So I figured out the Example1BasicReadings program was in the library. My bad. However, I’ve uploaded that exact program to the ESP32 with no compile errors, but on the ouput screen it stops on “Hard resetting via RTS pin…” and does nothing else. I’ve opened the serial monitor and have the baud rate at 115200 as instructed, but nothing happens. That program is supposed to write the 3 acceleration values to the serial monitor, but doesn’t seem to work. Any ideas?

I tested my serial monitor by inserting a print statement in a working program. The serial monitor is working.

I’m starting to think my KX132’s aren’t working. I’ve tried them both with the example1basicreadings program and neither work.

Has anyone tried the example1basicreadings program and got it to work?

Never mind, got the KX132 working with the example program. Thanks.