Hello all. I found a user that suggested using a Controllable Fan connection on the Creality K1C main board as a trigger for the 3D Chameleon. Any suggestions on how to create the g-code with this type of configuration. https://www.printables.com/model/1216331-3dchameleon-k1ck1k1max-arduino-uno-cnc-shield-v3. I was able to add the code provided to the printer.cfg file.
[output_pin swap_cor]
pin: PA0
pwm: True
cycle_time: 0.0100
hardware_pwm: false
value: 0.00
scale: 255
shutdown_value: 0.0
The user suggested he just added this code and created the g-code, but there is no information on what he used for the g-code.
I currently have it installed but bypassed.
You can use the SET_PIN command, using his swap_cor pin #... set it to 1 to bring it high and set it to 0 to bring it back low. See here for Klipper's documentation on the command: https://www.klipper3d.org/G-Codes.html#set_pin_1 Bill