30 lines
806 B
INI
30 lines
806 B
INI
#####################################################################
|
|
# Find my instructions here:
|
|
# https://github.com/bassamanator/rp2040-zero-adxl345-klipper
|
|
# ADXL345 related Settings
|
|
# https://www.klipper3d.org/Measuring_Resonances.html#adxl345
|
|
#####################################################################
|
|
|
|
[mcu RP2040]
|
|
baud: 115200 # 250000
|
|
restart_method: command
|
|
# Obtain definition by "ls -l /dev/serial/by-id/"
|
|
serial: /dev/serial/by-id/usb-Klipper_rp2040_E6614C311B773B36-if00
|
|
|
|
[adxl345]
|
|
cs_pin: RP2040:gpio1
|
|
spi_bus: spi0a
|
|
axes_map: x,z,y
|
|
|
|
[resonance_tester]
|
|
accel_chip: adxl345
|
|
probe_points: 111.5, 111.5, 20
|
|
|
|
[output_pin power_mode] # Improve power stability
|
|
pin: RP2040:gpio23
|
|
|
|
[gcode_macro ADX]
|
|
description: Shortcut to ACCELEROMETER_QUERY
|
|
gcode:
|
|
ACCELEROMETER_QUERY
|