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
10 Replies
here is the setup i know worked on the SKR pro
[gcode_button Emergency]
pin: ^!PG7
press_gcode:
M112
If that worked, then all you need to do is pick a new IO pin to use and update that klipper config
Can’t remember were I put the wires on the old board. Forgot to take a picture.
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)
i will give it a try
ok it works
using this on the octopus
[gcode_button Emergency]
pin: ^!PE14
press_gcode:
M112
When I’m done with the SKRat I will put the documentation in here as well.
thanks @miklschmidt