WireViz/examples/ex15.yml
Tobias Falk f49921b930 Added more options for shorts
Changed the syntax and added options for the shorts, see ex15 for more
2024-06-06 00:59:14 +02:00

49 lines
1.1 KiB
YAML

connectors:
X1:
type: Molex KK 254 # more information
subtype: female
pinlabels: [GND, VCC, RX, TX, GND, VCC, GND] # pincount is implicit in pinout
shorts:
SH1:
pins: [1, 5, 7]
color: PK
manufacturer: WireViz
mpn: 42XCD42A5
description: shortPart
SH2:
pins: [2, 6]
color: RD
manufacturer: WireViz
mpn: 42XCD42A5
description: shortPart
length: 42
shorts_graph_bom: true
X2:
type: Molex KK 254
subtype: female
pinlabels: [GND, VCC, RX, TX, GND, VCC, GND]
shorts:
SH1:
pins: [1, 5, 7]
SH2:
pins: [2, 6]
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