flexi-bot/docs/marlin/_gcode/M043-T.md
2023-09-05 20:38:49 +02:00

1.4 KiB

tag title brief author contrib experimental requires group codes notes parameters examples
m0043b Toggle Pins Get information about pins. thinkyhead
TwoRedCells
true PINS_DEBUGGING debug
M43 T
Requires `PINS_DEBUGGING`. This feature should be disabled for production use.
See [`M43`](/docs/gcode/M043.html) for other pins debug options.
tag optional description values
S true Start Pin number. If not given, will default to 0
tag type
pin int
tag optional description values
L true End Pin number. If not given, will default to last pin defined for this board
tag type
pin int
tag optional description values
I true Flag to ignore Marlin's pin protection. **Use with caution!!!!**
type
bool
tag optional description values
R true Repeat pulses on each pin this number of times before continuing to next pin. If not given will default to 1.
tag type
count int
tag optional description values
W true Wait time (in milliseconds) transitions. If not given will default to 500.
tag type
time int
pre code
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

The M43 T command toggles one or more pins.