M59 - Wait For Input

Waits for input pin.

Avoid using this M-code.
There are much better way to achieve same functionality.

Syntax

M59 P

Parameters

P Input pin number [1..8].

Examples

Wait for pin 3 to be signaled.

M59 P3