I have a situation where I need to inform an external device that the machine is moving. I am new to UCCNC, so if this is a typical question, my apologies. I tried searching "ismoving" and various other keywords with no luck.
I would like to have an output which indicates when the machine is moving. Actually moving. Not just executing G-code (With G4 for example, the machine would not be moving).
Is there an LED that I can direct to an output pin for this?
Or would it have to be a macro that runs continuously, such as:
while(1) output_pin = exec.isMoving();