If I use the “Interrupt” example for the ADXL313 and change the “activity threshold” to 100 instead of 10 and the inactivity threshold to 50 instead of 10, the board takes over a minute to respond to repeated movements of the board. I’m tipping the board along the “X” axis to get a value over 100. If I leave both thresholds to 10, it seems to work fine.
I found the problem. It was a defective interrupt wire between the module Int1 and the breadboard going to the ESP-32. I threw the wire away.