diff --git a/README.md b/README.md index ed2b4df..48c639f 100644 --- a/README.md +++ b/README.md @@ -49,11 +49,11 @@ connectors: X1: type: D-Sub subtype: female - pinout: [DCD, RX, TX, DTR, GND, DSR, RTS, CTS, RI] + pinlabels: [DCD, RX, TX, DTR, GND, DSR, RTS, CTS, RI] X2: type: Molex KK 254 subtype: female - pinout: [GND, RX, TX] + pinlabels: [GND, RX, TX] cables: W1: diff --git a/examples/demo01.yml b/examples/demo01.yml index ae1b4a5..56c77c1 100644 --- a/examples/demo01.yml +++ b/examples/demo01.yml @@ -2,11 +2,11 @@ connectors: X1: type: D-Sub subtype: female - pinout: [DCD, RX, TX, DTR, GND, DSR, RTS, CTS, RI] + pinlabels: [DCD, RX, TX, DTR, GND, DSR, RTS, CTS, RI] X2: type: Molex KK 254 subtype: female - pinout: [GND, RX, TX] + pinlabels: [GND, RX, TX] cables: W1: diff --git a/examples/demo02.yml b/examples/demo02.yml index f572890..5002e7d 100644 --- a/examples/demo02.yml +++ b/examples/demo02.yml @@ -3,7 +3,7 @@ templates: # defining templates to be used later on type: Molex KK 254 subtype: female - &con_i2c - pinout: [GND, +5V, SCL, SDA] + pinlabels: [GND, +5V, SCL, SDA] - &wire_i2c category: bundle gauge: 0.14 mm2 @@ -12,7 +12,7 @@ templates: # defining templates to be used later on connectors: X1: <<: *molex_f # copying items from the template - pinout: [GND, +5V, SCL, SDA, MISO, MOSI, SCK, N/C] + pinlabels: [GND, +5V, SCL, SDA, MISO, MOSI, SCK, N/C] X2: <<: *molex_f <<: *con_i2c # it is possible to copy from more than one template @@ -21,7 +21,7 @@ connectors: <<: *con_i2c X4: <<: *molex_f - pinout: [GND, +12V, MISO, MOSI, SCK] + pinlabels: [GND, +12V, MISO, MOSI, SCK] ferrule_crimp: style: simple autogenerate: true diff --git a/examples/ex01.yml b/examples/ex01.yml index 9e4340f..be099cc 100644 --- a/examples/ex01.yml +++ b/examples/ex01.yml @@ -2,11 +2,11 @@ connectors: X1: type: Molex KK 254 # more information subtype: female - pinout: [GND, VCC, RX, TX] # pincount is implicit in pinout + pinlabels: [GND, VCC, RX, TX] # pincount is implicit in pinout X2: type: Molex KK 254 subtype: female - pinout: [GND, VCC, RX, TX] + pinlabels: [GND, VCC, RX, TX] cables: W1: diff --git a/examples/ex02.yml b/examples/ex02.yml index 8a671e6..cdcecf9 100644 --- a/examples/ex02.yml +++ b/examples/ex02.yml @@ -2,11 +2,11 @@ connectors: X1: &boo type: Molex Micro-Fit subtype: male - pinout: [GND, VCC] + pinlabels: [GND, VCC] X2: &con_power_f # define template type: Molex Micro-Fit subtype: female - pinout: [GND, VCC] + pinlabels: [GND, VCC] X3: <<: *con_power_f # create from template X4: diff --git a/examples/ex03.yml b/examples/ex03.yml index fb935a2..b658b2d 100644 --- a/examples/ex03.yml +++ b/examples/ex03.yml @@ -2,11 +2,11 @@ connectors: X1: &boo type: Molex Micro-Fit subtype: male - pinout: [GND, VCC] + pinlabels: [GND, VCC] X2: &con_power_f type: Molex Micro-Fit subtype: female - pinout: [GND, VCC] + pinlabels: [GND, VCC] X3: <<: *con_power_f X4: diff --git a/examples/ex05.yml b/examples/ex05.yml index f88815f..fd776f9 100644 --- a/examples/ex05.yml +++ b/examples/ex05.yml @@ -3,7 +3,7 @@ templates: - &template_con type: Molex KK 254 subtype: female - pinout: [GND, VCC, SCL, SDA] + pinlabels: [GND, VCC, SCL, SDA] - &template_wire gauge: 0.25 mm2 length: 0.2 diff --git a/examples/ex06.yml b/examples/ex06.yml index ea0d505..e0a664f 100644 --- a/examples/ex06.yml +++ b/examples/ex06.yml @@ -3,7 +3,7 @@ templates: - &template_con type: Molex KK 254 subtype: female - pinout: [GND, VCC, SCL, SDA] + pinlabels: [GND, VCC, SCL, SDA] - &template_wire gauge: 0.25 mm2 length: 0.2 diff --git a/examples/ex08.yml b/examples/ex08.yml index e65813a..2195c4a 100644 --- a/examples/ex08.yml +++ b/examples/ex08.yml @@ -4,8 +4,8 @@ connectors: Key: type: Phone Connector subtype: male 3.5 - pinnumbers: [T, R, S] - pinout: [Dot, Dash, Ground] + pins: [T, R, S] + pinlabels: [Dot, Dash, Ground] show_pincount: false cables: diff --git a/examples/ex09.yml b/examples/ex09.yml index baef3ab..9cce10f 100644 --- a/examples/ex09.yml +++ b/examples/ex09.yml @@ -5,13 +5,13 @@ connectors: type: D-Sub subtype: male pincount: 25 - pinnumbers: [1,14,3,16,5,18,7,20,9,22,11,24,13] - pinout: [ SENSE_P_1, SENSE_N_1, SENSE_P_2, SENSE_N_2, SENSE_P_3, SENSE_N_3, SENSE_P_4,SENSE_N_4, SENSE_P_5, SENSE_N_5, SENSE_P_6, SENSE_N_6, GND ] + pins: [1,14,3,16,5,18,7,20,9,22,11,24,13] + pinlabels: [ SENSE_P_1, SENSE_N_1, SENSE_P_2, SENSE_N_2, SENSE_P_3, SENSE_N_3, SENSE_P_4,SENSE_N_4, SENSE_P_5, SENSE_N_5, SENSE_P_6, SENSE_N_6, GND ] X2: type: F48 subtype: female pincount: 48 - pinnumbers: [ z2,b2,d2,z4,b4,d4,z6,b6,d6,z8,b8,d8,z10,b10,d10,z12,b12,d12,z14,b14,d14,z16,b16,d16,z18,b18,d18,z20,b20,d20,z22,b22,d22,z24,b24,d24,z26,b26,d26,z28,b28,d28,z30,b30,d30,z32,b32,d32 ] + pins: [ z2,b2,d2,z4,b4,d4,z6,b6,d6,z8,b8,d8,z10,b10,d10,z12,b12,d12,z14,b14,d14,z16,b16,d16,z18,b18,d18,z20,b20,d20,z22,b22,d22,z24,b24,d24,z26,b26,d26,z28,b28,d28,z30,b30,d30,z32,b32,d32 ] cables: W1: diff --git a/examples/ex10.yml b/examples/ex10.yml index 3d0a1b7..cbd392a 100644 --- a/examples/ex10.yml +++ b/examples/ex10.yml @@ -3,11 +3,11 @@ connectors: X1: type: Stewart Connector SS-37000-002 subtype: male - pinout: [DA+,DA-,DB+,DC+,DC-,DB-,DD+,DD-] # pincount is implicit in pinout + pinlabels: [DA+,DA-,DB+,DC+,DC-,DB-,DD+,DD-] # pincount is implicit in pinout X2: type: Stewart Connector SS-37000-002 subtype: male - pinout: [DB+,DB-,DA+,DD+,DD-,DA-,DC+,DC-] + pinlabels: [DB+,DB-,DA+,DD+,DD-,DA-,DC+,DC-] cables: W1: diff --git a/tutorial/tutorial03.yml b/tutorial/tutorial03.yml index 46f1625..fba6e6d 100644 --- a/tutorial/tutorial03.yml +++ b/tutorial/tutorial03.yml @@ -1,6 +1,6 @@ connectors: X1: &template1 # define a template for later use - pinout: [GND, VCC, RX, TX] # pincount implicit in pinout + pinlabels: [GND, VCC, RX, TX] # pincount implicit in pinout type: Molex KK 254 subtype: female X2: diff --git a/tutorial/tutorial04.yml b/tutorial/tutorial04.yml index 6286e94..0080d1b 100644 --- a/tutorial/tutorial04.yml +++ b/tutorial/tutorial04.yml @@ -1,6 +1,6 @@ connectors: X1: &template_con - pinout: [GND, VCC, SCL, SDA] + pinlabels: [GND, VCC, SCL, SDA] type: Molex KK 254 subtype: male notes: to microcontroller # add notes diff --git a/tutorial/tutorial05.yml b/tutorial/tutorial05.yml index 449dd84..e894a45 100644 --- a/tutorial/tutorial05.yml +++ b/tutorial/tutorial05.yml @@ -1,6 +1,6 @@ connectors: X1: - pinout: [+12V, GND, GND, +5V] + pinlabels: [+12V, GND, GND, +5V] type: Molex 8981 subtype: female F1: diff --git a/tutorial/tutorial06.yml b/tutorial/tutorial06.yml index 3a0b810..5143157 100644 --- a/tutorial/tutorial06.yml +++ b/tutorial/tutorial06.yml @@ -1,6 +1,6 @@ connectors: X1: - pinout: [+12V, GND, GND, +5V] + pinlabels: [+12V, GND, GND, +5V] type: Molex 8981 subtype: female F_10: # this is a unique ferrule diff --git a/tutorial/tutorial07.yml b/tutorial/tutorial07.yml index 2aefc83..70778ff 100644 --- a/tutorial/tutorial07.yml +++ b/tutorial/tutorial07.yml @@ -2,7 +2,7 @@ connectors: X1: &template_con type: Molex KK 254 subtype: female - pinout: [GND, VCC, SCL, SDA] + pinlabels: [GND, VCC, SCL, SDA] X2: <<: *template_con X3: