I’m using an external custom buffer for Palette that when triggered I need the print speed to slow down. I’m using a pi 3b with octopus v1.1 board. I’ve create a separate event.cfg and included it in my printer config. I get error Section ‘event pin_change’ is not a valid config section. I can’t find any documentation on creating trigger events. I’m using a laser filament sensor as my switch on pin PG10. I’m not sure where to find the valid commands klipper supports. Any help would be appreciate. This was a piece of cake when using RRF3 Heres my macro:
[event pin_change]
pin: PG10
command: |
{% if pin_state == "triggered" %}
GCODE_MACRO SL_DN
{% else %}
GCODE_MACRO SL_UP
{% endif %}
[gcode_macro SL_DN]
gcode:
M220 S5
[gcode_macro SL_UP]
gcode:
M220 S100