Skip to content

Commit

Permalink
Update example YAML files
Browse files Browse the repository at this point in the history
  • Loading branch information
formatc1702 committed Jul 10, 2020
1 parent b479190 commit b988e9b
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 24 deletions.
10 changes: 5 additions & 5 deletions examples/demo02.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ templates: # defining templates to be used later on
gauge: 0.14 mm2
colors: [BK, RD, YE, GN]

ferrules:
ferrule_crimp:
type: Crimp ferrule
subtype: 0.25 mm²

connectors:
X1:
<<: *molex_f # copying items from the template
Expand All @@ -27,6 +22,11 @@ connectors:
X4:
<<: *molex_f
pinout: [GND, +12V, MISO, MOSI, SCK]
ferrule_crimp:
category: ferrule
autogenerate: true
type: Crimp ferrule
subtype: 0.25 mm²

cables:
W1:
Expand Down
14 changes: 3 additions & 11 deletions examples/ex04.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
# connectors:
# X1:
# type: D-Sub
# subtype: female
# pincount: 4
# X2:
# type: Molex KK 254
# subtype: female
# pincount: 3

cables:
W1:
gauge: 0.25 mm2
Expand All @@ -17,8 +7,10 @@ cables:
wirecount: 6
category: bundle

ferrules:
connectors:
ferrule_crimp:
category: ferrule
autogenerate: true
type: Crimp ferrule
show_name: false
show_pincount: false
Expand Down
8 changes: 4 additions & 4 deletions tutorial/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,9 @@ connectors:
pinout: [+12V, GND, GND, +5V]
type: Molex 8981
subtype: female

ferrules: # ferrules
F1:
category: ferrule
autogenerate: true
type: Ferrule, crimp
subtype: 0.5 mm²
color: OG # optional color
Expand Down Expand Up @@ -253,9 +253,9 @@ connectors:
type: Ferrule, crimp
subtype: 1.0 mm²
color: YE
ferrules: # ferrules
F_05:
category: ferrule
autogenerate: true
type: Ferrule, crimp
subtype: 0.5 mm²
color: OG # optional color
Expand Down
4 changes: 2 additions & 2 deletions tutorial/tutorial05.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ connectors:
pinout: [+12V, GND, GND, +5V]
type: Molex 8981
subtype: female

ferrules: # ferrules
F1:
category: ferrule
autogenerate: true
type: Ferrule, crimp
subtype: 0.5 mm²
color: OG # optional color
Expand Down
4 changes: 2 additions & 2 deletions tutorial/tutorial06.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ connectors:
type: Ferrule, crimp
subtype: 1.0 mm²
color: YE

ferrules: # ferrules
F_05:
category: ferrule
autogenerate: true
type: Ferrule, crimp
subtype: 0.5 mm²
color: OG # optional color
Expand Down

0 comments on commit b988e9b

Please sign in to comment.