Update sample code in readme
This commit is contained in:
parent
fdf5694534
commit
6ee3b3ccc6
@ -37,7 +37,7 @@ _Note_: WireViz is not designed to represent the complete wiring of a system. It
|
|||||||
X2:
|
X2:
|
||||||
type: Molex KK 254
|
type: Molex KK 254
|
||||||
gender: female
|
gender: female
|
||||||
pinout: [GND, RX, TX, N/C, OUT, IN]
|
pinout: [GND, RX, TX]
|
||||||
|
|
||||||
wires:
|
wires:
|
||||||
W1:
|
W1:
|
||||||
@ -48,16 +48,13 @@ _Note_: WireViz is not designed to represent the complete wiring of a system. It
|
|||||||
shield: true
|
shield: true
|
||||||
|
|
||||||
connections:
|
connections:
|
||||||
- # format: connector->wire->connector
|
-
|
||||||
- X1: [5,2,1]
|
- X1: [5,2,1]
|
||||||
- W1: [1,2,3]
|
- W1: [1,2,3]
|
||||||
- X2: [1,3,2]
|
- X2: [1,3,2]
|
||||||
- # format: connector->wire or wire->connector
|
-
|
||||||
- X1: 5
|
- X1: 5
|
||||||
- W1: s
|
- W1: s
|
||||||
- # loop: connector-connector
|
|
||||||
- X2: 5
|
|
||||||
- X2: 6
|
|
||||||
|
|
||||||
Output file:
|
Output file:
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user