acceleration_measurement

Example of the component qulxizer/pl_adxl357 v1.0.0
# ADXL357 Acceleration Measurement Example

1. SPI interface is initialized (host: SPI2_HOST, MOSI pin: 5, MISO pin: 18, SCLK pin: 19).
2. ADXL357 is initialized (frequency: 10 MHz, CS pin: 21).
3. Range is set to ±2 g.
4. Measurement is enabled.
5. X-, Y- and Z-axis accelerations are measured and printed every second.

To create a project from this example, run:

idf.py create-project-from-example "qulxizer/pl_adxl357=1.0.0:acceleration_measurement"

or download archive (~1.63 KB)