thinkyhead TwoRedCells

M43 T - Toggle Pins

debug Get information about pins. 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. If not given, will default to last pin defined for this board

      [R<count>]

      Repeat pulses on each pin this number of times before continuing to next pin. If not given will default to 1.

        [S<pin>]

        Start Pin number. If not given, will default to 0

          [W<time>]

          Wait time (in milliseconds) transitions. If not given will default to 500.

            Example

            Toggle pins 3-6 five times with 1 second low and 1 second high pulses but only if the pin isn’t in the protected list.

            M43 T S3 L6 R5 W1000