parallel
parallel
This keyword connects multiple different paths to have the same initial and end points.
Example:
from std import *
v5v = supply("5V")
gnd = dgnd()
at v5v
wire down 100
# this is the initial point
for i in range(0, 3):
parallel:
wire right (i*200) down 100
add diode("RED")
wire down 100
add res(1k)
wire down 100
if i > 0:
wire auto
wire down 100
to gnd