thinkyhead TwoRedCells

M43 T - Toggle Pins

debug Toggle pins states PINS_DEBUGGING

Description

The M43 T command toggles one or more pins.

Notes

Requires PINS_DEBUGGING. This feature should be disabled for production use.

See M43 for other pins debug options.

Usage

M43 T [I<bool>] [L<pin>] [R<count>] [S<pin>] [W<time>]

Parameters

[I<bool>]

Flag to ignore Marlin’s pin protection. Use with caution!

    [L<pin>]

    End Pin number. (Default: last pin)

      [R<count>]

      Number of times to toggle each pin. (Default: 1)

        [S<pin>]

        Start Pin number. (Default: 0)

          [W<time>]

          Wait time (in milliseconds) transitions. (Default: 500).

            Example

            Toggle unprotected pins from 3 to 6 five times each with 1 second low / high pulses.

            M43 T S3 L6 R5 W1000