46 lines
1.1 KiB
INI
46 lines
1.1 KiB
INI
[mcu menu]
|
|
serial: /dev/serial/by-id/usb-Klipper_stm32f042x6_300021001943534D34383120-if00
|
|
restart_method: command
|
|
|
|
[display]
|
|
lcd_type: uc1701
|
|
kill_pin: menu:PF0
|
|
spi_bus: spi1
|
|
cs_pin: menu:PA4
|
|
a0_pin: menu:PA2
|
|
rst_pin: menu:PA3
|
|
contrast: 63
|
|
encoder_pins: ^menu:PA0, ^menu:PA1
|
|
click_pin: ^!menu:PB1
|
|
|
|
[output_pin BEEPER_pin]
|
|
pin: menu:PF1
|
|
pwm: True
|
|
value: 0
|
|
shutdown_value: 0
|
|
cycle_time: 0.001
|
|
scale: 1000
|
|
|
|
[gcode_macro M300]
|
|
gcode: SET_PIN PIN=BEEPER_pin VALUE={1000}
|
|
G4 P{100}
|
|
SET_PIN PIN=BEEPER_pin VALUE=0
|
|
|
|
|
|
[neopixel fysetc_mini12864]
|
|
# To control Neopixel RGB in mini12864 display
|
|
pin: menu:PA13
|
|
chain_count: 3
|
|
color_order: RGB
|
|
initial_RED: 1.0
|
|
initial_GREEN: 0
|
|
initial_BLUE: 0
|
|
|
|
# Set RGB values on boot up for each Neopixel.
|
|
# Index 1 = display, Index 2 and 3 = Knob
|
|
[delayed_gcode setdisplayneopixel]
|
|
initial_duration: 1
|
|
gcode:
|
|
SET_LED LED=fysetc_mini12864 RED=.25 GREEN=0 BLUE=.25 INDEX=1 TRANSMIT=0
|
|
SET_LED LED=fysetc_mini12864 RED=.05 GREEN=0 BLUE=.25 INDEX=2 TRANSMIT=0
|
|
SET_LED LED=fysetc_mini12864 RED=.05 GREEN=0 BLUE=.25 INDEX=3
|