Skip to content

Instantly share code, notes, and snippets.

@bistory
Last active April 4, 2024 08:02
Show Gist options
  • Save bistory/4c3a870f2812f26d6dab2f34275bb91b to your computer and use it in GitHub Desktop.
Save bistory/4c3a870f2812f26d6dab2f34275bb91b to your computer and use it in GitHub Desktop.
PIS.cfg
[mcu PIS]
# Obtain definition by "ls -l /dev/serial/by-id/" then unplug to verify
serial: /dev/serial/by-id/xxxx
[adxl345]
cs_pin: PIS:gpio13
#spi_bus: spi1a
spi_software_sclk_pin: PIS:gpio10
spi_software_mosi_pin: PIS:gpio11
spi_software_miso_pin: PIS:gpio12
axes_map: x,-z,y
[resonance_tester]
accel_chip: adxl345
probe_points:
100,100,20 # an example
@Hypoxic01
Copy link

Anyone having Fystec Portable Input Shaper issues the following .cfg finally worked for me.:
[mcu pico]

serial: /dev/serial/by-id/usb-Klipper_rp2040_E66160F423442538-if00

[adxl345]
cs_pin: pico:gpio13
#spi_bus: spi1a
spi_software_sclk_pin: pico:gpio10
spi_software_mosi_pin: pico:gpio11
spi_software_miso_pin: pico:gpio12
axes_map: x,-z,y

[resonance_tester]
#accel_chip: adxl345 usbadxl
accel_chip: adxl345
probe_points: 100,100,20 # an example

Substitute pico for the MCU name of the input shapper.

@bistory
Copy link
Author

bistory commented Jan 21, 2024

Anyone having Fystec Portable Input Shaper issues the following .cfg finally worked for me.: [mcu pico]

serial: /dev/serial/by-id/usb-Klipper_rp2040_E66160F423442538-if00

[adxl345] cs_pin: pico:gpio13 #spi_bus: spi1a spi_software_sclk_pin: pico:gpio10 spi_software_mosi_pin: pico:gpio11 spi_software_miso_pin: pico:gpio12 axes_map: x,-z,y

[resonance_tester] #accel_chip: adxl345 usbadxl accel_chip: adxl345 probe_points: 100,100,20 # an example

Substitute pico for the MCU name of the input shapper.

This shouldn't be a problem using "PIS" as the name of the MCU, you probably had an error elsewhere ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment