Welcome to mirror list, hosted at ThFree Co, Russian Federation.

M043-T.md « _gcode - github.com/MarlinFirmware/MarlinDocumentation.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d546c39ae27a78189a6362ce52d745a5730ca3ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
---
tag: m0043b
title: Toggle Pins
brief: Get information about pins.
author: thinkyhead
contrib: [ TwoRedCells ]
experimental: true
requires: PINS_DEBUGGING
group: debug

codes: [ M43 T ]

notes:
  - Requires `PINS_DEBUGGING`. This feature should be disabled for production use.
  - See [`M43`](/docs/gcode/M043.html) for other pins debug options.

parameters:
  -
    tag: S
    optional: true
    description: Start Pin number. If not given, will default to 0
    values:
      -
        tag: pin
        type: int
  -
    tag: L
    optional: true
    description: End Pin number. If not given, will default to last pin defined for this board
    values:
      -
        tag: pin
        type: int
  -
    tag: I
    optional: true
    description: Flag to ignore Marlin's pin protection. **Use with caution!!!!**
    values:
      -
        type: bool
  -
    tag: R
    optional: true
    description: Repeat pulses on each pin this number of times before continuing to next pin. If not given will default to 1.
    values:
      -
        tag: count
        type: int
  -
    tag: W
    optional: true
    description: Wait time (in milliseconds) transitions. If not given will default to 500.
    values:
      -
        tag: time
        type: int

examples:
  -
    pre: 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.
    code: M43 T S3 L6 R5 W1000

---

The `M43 T` command toggles one or more pins.