BIGTREETECH S2DW V1.0 User Manual
10
3. In printer.cfg, add:
[include sample-bigtreetech-lis2dw-v1.0.cfg]
4. Set the correct ID number for your board.(USB serial or canbus)
5. Configure the module's functions according to the instructions in the link
below:
https://www.klipper3d.org/Config_Reference.html#lis2dw
The axes_map parameter needs to be set according to the direction of
the module installation and the movement direction of the printer. The first
parameter represents the direction of the accelerometer module
corresponding to the axis when the printer's X-axis moves in the positive
direction (the silk screen on the module shows the direction of each axis
of the module), and the second parameter represents the direction of the
accelerometer when the Y-axis moves in the positive direction.
6. Lis2dw is a function added to Klipper on August 22, 2023:
https://github.com/Klipper3d/klipper/pull/6312
If you encounter the error "Section 'lis2dw' is not a valid config
section", it means that your Klipper version does not support lis2dw.
Update to the latest version to use it normally.