ZeroBreakout/zerobreakout.cfg
2023-08-07 18:25:23 -07:00

56 lines
1.1 KiB
INI

# To flash
# [*] Enable extra low level configuration options
# Micro-controller Architecture (Raspberry Pi RP2040] --->
# Flash chip (Generic_03H with CLKDIV 4) --->
# Communiccation interface (USB) --->
# USB ids --->
# () GPIO pins to set at micro-controller startup
# PLEASE READ!
# M1 is a 3.3 voltage line. This is not for buttons and can
# not be seen by klipper. This is just an arbitrary pin with
# limited use. Feel free to not populate.
# Klipper config for ZeroBreakout
[mcu tinytemp]
serial: /dev/serial/by-id/usb-Klipper_SERIAL_ID_GOES_HERE
restart_method: command
[board_pins tinytemp]
mcu: zerobreakout
aliases:
#M1 3.3v line
M2=gpio29,
M3=gpio28,
M4=gpio27,
M5=gpio16,
M6=gpio15,
M7=gpio14,
M8=gpio27,
M9=gpio7,
M10=gpio67,
M11=gpio5,
M12=gpio4,
M13=gpio3,
M14=gpio2,
M15=gpio1,
M16=gpio0,
M17=gpio9,
M18=gpio10,
M19=gpio11,
M20=gpio12,
M21=gpio13,
[gcode_button my_gcode_button]
pin: zerobreakout:M2
press_gcode:
M112 # emergency stop
[neopixel tinytemp]
pin: tinytemp:LED
color_order: RGB
initial_RED: 1.0
initial_GREEN: 0.0
initial_BLUE: 1.0