Adapt examples + tutorials

This commit is contained in:
Daniel Rojas 2020-10-24 02:36:00 +02:00
parent b007c5a659
commit e94ff2c957
5 changed files with 14 additions and 14 deletions

View File

@ -24,7 +24,7 @@ connectors:
pinlabels: [GND, +12V, MISO, MOSI, SCK] pinlabels: [GND, +12V, MISO, MOSI, SCK]
ferrule_crimp: ferrule_crimp:
style: simple style: simple
autogenerate: true show_name: false
type: Crimp ferrule type: Crimp ferrule
subtype: 0.25 mm² subtype: 0.25 mm²
color: YE color: YE
@ -64,6 +64,6 @@ connections:
- W3: [1-4] - W3: [1-4]
- X4: [1,3-5] - X4: [1,3-5]
- -
- ferrule_crimp - ferrule_crimp.
- W4: [1,2] - W4: [1,2]
- X4: [1,2] - X4: [1,2]

View File

@ -10,7 +10,7 @@ cables:
connectors: connectors:
ferrule_crimp: ferrule_crimp:
style: simple style: simple
autogenerate: true # autogenerate: true
type: Crimp ferrule type: Crimp ferrule
connections: connections:

View File

@ -8,9 +8,9 @@ connectors:
pins: [T, R, S] pins: [T, R, S]
pinlabels: [Dot, Dash, Ground] pinlabels: [Dot, Dash, Ground]
show_pincount: false show_pincount: false
image: # image:
src: resources/stereo-phone-plug-TRS.png # src: resources/stereo-phone-plug-TRS.png
caption: Tip, Ring, and Sleeve # caption: Tip, Ring, and Sleeve
cables: cables:
W1: W1:
@ -20,10 +20,10 @@ cables:
color_code: DIN color_code: DIN
wirecount: 3 wirecount: 3
shield: SN # Matching the shield color in the image shield: SN # Matching the shield color in the image
image: # image:
src: resources/cable-WH+BN+GN+shield.png # src: resources/cable-WH+BN+GN+shield.png
height: 70 # Scale the image size slightly down # height: 70 # Scale the image size slightly down
caption: Cross-section # caption: Cross-section
connections: connections:
- -

View File

@ -5,7 +5,7 @@ connectors:
subtype: female subtype: female
F1: F1:
style: simple style: simple
autogenerate: true show_name: false
type: Crimp ferrule type: Crimp ferrule
subtype: 0.5 mm² subtype: 0.5 mm²
color: OG # optional color color: OG # optional color
@ -19,6 +19,6 @@ cables:
connections: connections:
- -
- F1 # a new ferrule is auto-generated for each of the four wires - F1. # a new ferrule is auto-generated for each of the four wires
- W1: [1-4] - W1: [1-4]
- X1: [1-4] - X1: [1-4]

View File

@ -11,7 +11,7 @@ connectors:
color: YE # optional color color: YE # optional color
F_05: # this is a ferrule that will be auto-generated on demand F_05: # this is a ferrule that will be auto-generated on demand
style: simple style: simple
autogenerate: true show_name: false
type: Crimp ferrule type: Crimp ferrule
subtype: 0.5 mm² subtype: 0.5 mm²
color: OG color: OG
@ -25,6 +25,6 @@ cables:
connections: connections:
- -
- [F_05, F_10, F_10, F_05] - [F_05., F_10.F1, F_10.F1, F_05.]
- W1: [1-4] - W1: [1-4]
- X1: [1-4] - X1: [1-4]