WireViz/examples/ex01.yml

29 lines
726 B
YAML

connectors:
X1:
type: Molex KK 254 # more information
subtype: female
pinout: [GND, VCC, RX, TX] # pincount is implicit in pinout
X2:
type: Molex KK 254
subtype: female
pinout: [GND, VCC, RX, TX]
cables:
W1:
color_code: IEC # auto-color wires based on a standard
wirecount: 4 # need to specify number of wires explicitly when using a color code
gauge: 0.25 mm2 # also accepts AWG as unit
show_equiv: true # auto-calculate AWG equivalent from metric gauge
length: 0.2 # length in m
shield: true
type: Serial
connections:
-
- X1: [1-4]
- W1: [1-4]
- X2: [1,2,4,3] # crossover
- # connection from connector pin to wire shielding
- X1: 1
- W1: s