to
to <component>
Places the component on the canvas and joins the current insertion point. By default, if no pin number is used, pin 1 is used.
To specify the insertion point at a given pin number, write to <component> pin <pin number>
from "std" import *
v5v = supply("5V")
gnd = dgnd()
component_1 = create component:
pins: 4
component_2 = create component:
pins: 4
at component_1 pin 2
wire right 100
to component_2 pin 1
at component_1 pin 4
wire right 100
to component_2 pin 3
point reference
to can also draw a wire to a named point defined by point "name":
to "point_name"— end the current wire at the named point defined bypoint "point_name"
Example:
from "std" import *
v3v3 = supply("3.3V")
gnd = dgnd()
some_component = create component:
pins: 3
at v3v3
wire down 100
point "tmp1"
wire down 100
add cap(100n)
wire down 100
to gnd
at some_component pin 1
wire right 100
to "tmp1"