From e829294c70ce1fc2b97b19bb9f65a48cbabc3ff8 Mon Sep 17 00:00:00 2001 From: Daniel Rojas Date: Wed, 27 May 2020 18:50:44 +0200 Subject: [PATCH] Add example 2 as YAML file --- src/example2.yml | 85 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 src/example2.yml diff --git a/src/example2.yml b/src/example2.yml new file mode 100644 index 0000000..9b854ed --- /dev/null +++ b/src/example2.yml @@ -0,0 +1,85 @@ +templates: + - &molex_f + type: Molex KK 254 + gender: female + - &con_i2c + pinout: [GND, +5V, SCL, SDA] + - &wire_i2c + mm2: 0.14 + length: 0.2 + colors: [BK, RD, YE, GN] + +nodes: + X1: + <<: *molex_f + pinout: [GND, +5V, SCL, SDA, MISO, MOSI, SCK, N/C] + X2: + <<: *molex_f + <<: *con_i2c + X3: + <<: *molex_f + <<: *con_i2c + X4: + <<: *molex_f + pinout: [GND, +12V, MISO, MOSI, flachstecker] + X5: + type: Molex Micro-Fit + gender: male + pinout: [GND, +12V] + +wires: + W1: + <<: *wire_i2c + W2: + <<: *wire_i2c + W3: + mm2: 0.14 + length: 0.2 + colors: [BK, BU, OG, VT] + W4: + mm2: 0.5 + length: 0.35 + colors: [BK, RD] + +connections: + - + - X1: [1-4] + - W1: [1-4] + - X2: [1-4] + - + - X1: [1-4] + - W2: [1-4] + - X3: [1-4] + - + - X1: [1,5-7] + - W3: [1-4] + - X4: [1,3-5] + - + - X5: [1,2] + - W4: [1,2] + - X4: [1,2] + +# - +# - X1: 1 +# - W1: 1 +# - X2: 1 +# - +# - X1: [2,3,4] +# - W1: [2,3,4] +# - X2: [4,3,2] +# - +# - X1: [5-10] +# - W1: [5-7,10,9,8] +# - X2: [10-5] +# - +# - X1: 11 +# - W1: s +# - +# - X1: [1-5] +# - W1: [11-15] +# - +# - W1: [12-15] +# - X2: [2-5] +# - +# - X1: [12,14] +# - X1: [13,15]