WireViz/examples/ex02.yml
Andreas Nordin 2b307b00ae Update example ex02 with awg -> mm2 conversion
Show conversions for ex02, and make sure it displays conversions in both
directions. Rebuild the example files.
2020-06-29 13:18:53 +02:00

40 lines
785 B
YAML

connectors:
X1: &boo
type: Molex Micro-Fit
subtype: male
pinout: [GND, VCC]
X2: &con_power_f # define template
type: Molex Micro-Fit
subtype: female
pinout: [GND, VCC]
X3:
<<: *con_power_f # create from template
X4:
<<: *con_power_f # create from template
cables:
W1: &wire_power # define template
colors: [BK, RD] # number of wires implicit in color list
gauge: 0.25 # assume mm2 if no gauge unit is specified
show_equiv: true
length: 0.2
W2:
<<: *wire_power # create from template
W3:
<<: *wire_power # create from template
gauge: 20 awg
connections:
-
- X1: [1-2]
- W1: [1-2]
- X2: [1-2]
-
- X1: [1-2]
- W2: [1-2]
- X3: [1-2]
-
- X1: [1-2]
- W3: [1-2]
- X4: [1-2]