How to setup a button to preform a M112

i have a button with led light in it and i what it to preform a g-code comand M112 doing the setup on both the octopus pro and the SKRat
No description
10 Replies
D_Jespersen (DJ_Designs)
here is the setup i know worked on the SKR pro [gcode_button Emergency] pin: ^!PG7 press_gcode: M112
blacksmithforlife
If that worked, then all you need to do is pick a new IO pin to use and update that klipper config
D_Jespersen (DJ_Designs)
Can’t remember were I put the wires on the old board. Forgot to take a picture.
miklschmidt
miklschmidt2y ago
I think you want to wire the green and blue to gnd and some gpio red to 5v, black to gnd Then your old config should work (provided you replace the pin name)
D_Jespersen (DJ_Designs)
i will give it a try ok it works using this on the octopus [gcode_button Emergency] pin: ^!PE14 press_gcode: M112
D_Jespersen (DJ_Designs)
When I’m done with the SKRat I will put the documentation in here as well. thanks @miklschmidt
Want results from more Discord servers?
Add your server