Add ADXL345 accelerometer config and doc (#6)
This commit was merged in pull request #6.
This commit is contained in:
23
artillery-sidewinder-x2/klipper-cfg-files/adxl345.cfg
Normal file
23
artillery-sidewinder-x2/klipper-cfg-files/adxl345.cfg
Normal file
@@ -0,0 +1,23 @@
|
||||
[mcu no_name_adxl]
|
||||
# Change <mySerial> to whatever you found above. For example,
|
||||
# usb-Klipper_rp2040_E661640843545B2E-if00
|
||||
serial: /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.1:1.0
|
||||
|
||||
|
||||
|
||||
[adxl345]
|
||||
cs_pin: no_name_adxl:gpio9
|
||||
spi_software_sclk_pin: no_name_adxl:gpio10
|
||||
spi_software_mosi_pin: no_name_adxl:gpio11
|
||||
spi_software_miso_pin: no_name_adxl:gpio12
|
||||
|
||||
axes_map: x,z,y
|
||||
|
||||
[resonance_tester]
|
||||
accel_chip: adxl345
|
||||
probe_points:
|
||||
# Somewhere slightly above the middle of your print bed
|
||||
100,100, 20
|
||||
|
||||
#[output_pin power_mode] # Improve power stability
|
||||
#pin: adxl:gpio23
|
||||
@@ -10,6 +10,8 @@
|
||||
# See more description here: https://blog.freakydu.de/posts/2022-10-01-klipper_with_artillery_sidewinderx2/
|
||||
# See docs/Config_Reference.md for a description of parameters.
|
||||
|
||||
[include adxl345.cfg]
|
||||
|
||||
[include macros.cfg]
|
||||
|
||||
[mcu]
|
||||
@@ -183,6 +185,9 @@ runout_gcode: M117 Filament runout # Optional
|
||||
insert_gcode: M117 Filament insert # Optional
|
||||
switch_pin: PA0 # the z-endstop pin
|
||||
|
||||
# Support for M117 gcode (message display)
|
||||
[display_status]
|
||||
|
||||
# Support for gcode arc (G2/G3) commands.
|
||||
[gcode_arcs]
|
||||
#resolution: 1.0
|
||||
|
||||
Reference in New Issue
Block a user