Thanks! Can I use them as inputs as well?
Something like in the gcode documentation:
M583 P5 S0 ; Wait for Pin 5 to become 0
Do commands switch pins' input/output state automatically when using G42/M583?
Also is there a timeout option for M583 to prevent an infinite loop?
Thanks again for taking the time!