ADXL362 and ESP32 Wroom Connecting Issues

I am using the Adafruit Huzzah32 (Pinouts | Adafruit HUZZAH32 - ESP32 Feather | Adafruit Learning System) and I am trying to connect the ADXL362 sensor (SparkFun Triple Axis Accelerometer Breakout - ADXL362 - SEN-11446 - SparkFun Electronics), using the ADXL362.h library. The code for sample read is attached. In the sample read header it says: “Connect SCLK, MISO, MOSI, and CSB of ADXL362 to SCLK, MISO, MOSI, and DP 10 of Arduino”

I have connected all pins except CSB as I don’t know where this pin is in the Huzzah32 board. On the pro mini or uno, it is pin 10, but don’t know how to modify this for it to work on the huzzah32 board?

ADXL362_SimpleRead.ino (1.5 KB)

Choose a pin, use it. Typically pin 5 or pin 15 are the default CS pins for the ESP32’s VSPI and HSPI buss.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.