-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadxl235.cfg
43 lines (37 loc) · 1.02 KB
/
adxl235.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#Install commands for Raspberry PI
#sudo apt update
#sudo apt install python3-numpy python3-matplotlib libatlas-base-dev
#Next, in order to install NumPy in the Klipper environment, run the command:
#~/klippy-env/bin/pip install -v numpy
#https://www.youtube.com/watch?v=W_VHbT_tsZw&t=77s&ab_channel=NERO3D
[mcu adxl]
#serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
serial: /dev/serial/by-id/usb-Klipper_rp2040_E660C06213283B27-if00
[adxl345]
cs_pin: adxl:gpio1
spi_bus: spi0a
axes_map: x,z,y
[resonance_tester]
accel_chip: adxl345
probe_points:
150,150, 20 # middle of bed as an example
[gcode_macro Shape_Y]
description: Sets extruder to 210 and bed to 60, then beeps
gcode:
Warm_Bed_PLA
M106 S128
G28
M300 ; Beep
M300 ; Beep
G4 P30000 ; Wait 30 seconds
SHAPER_CALIBRATE AXIS=Y
[gcode_macro Shape_X]
description: Sets extruder to 210 and bed to 60, then beeps
gcode:
Warm_Bed_PLA
M106 S128
G28
M300 ; Beep
M300 ; Beep
G4 P30000 ; Wait 30 seconds
SHAPER_CALIBRATE AXIS=X