Zum Hauptinhalt springen

参考配置

###########################################################################
# Happy Hare MMU hardware pin config
#
# EDIT THIS FILE BASED ON YOUR SETUP
#
# This contains aliases for pins for MCU type unknown
#
[mcu mmu]
serial: /dev/ttyACM1 # Config guess. Run ls -l /dev/serial/by-id and set manually # Change to `canbus_uuid: 1234567890` for CANbus setups

# Section to create alias for pins used by MMU for easier integration into Klippain and RatOS.
# The names match those referenced in the mmu_hardware.cfg file. If you get into difficulty
# you can also comment out this aliases definition and configure the pin names directly
# into mmu_hardware.cfg.
#
[board_pins mmu]
mcu: mmu # Assuming using an external / extra mcu dedicated to MMU
aliases:
MMU_GEAR_UART=PE7,
MMU_GEAR_STEP=PC5,
MMU_GEAR_DIR=PB1,
MMU_GEAR_ENABLE=PB0,
MMU_GEAR_DIAG=PE8,
MMU_SEL_UART=PE11,
MMU_SEL_STEP=PE14,
MMU_SEL_DIR=PE13,
MMU_SEL_ENABLE=PE12,
MMU_SEL_DIAG=PE9,
MMU_SEL_ENDSTOP=PE2,
MMU_SERVO=PA3,
MMU_CUT_SERVO=PA2,
MMU_ENCODER=PE3,
MMU_GATE_SENSOR=PC3,
MMU_NEOPIXEL=PE10,
MMU_PRE_GATE_0=PC6,
MMU_PRE_GATE_1=PD15,
MMU_PRE_GATE_2=PD14,
MMU_PRE_GATE_3=PD13,
MMU_PRE_GATE_4=PD12,
MMU_PRE_GATE_5=PD11,
MMU_PRE_GATE_6=PD10,
MMU_PRE_GATE_7=PD9,