pin (Lepton EDA Reference Manual 1.9.18)

#### 12.4.10 pin ¶

Valid in: Symbol files ONLY

    type x1 y1 x2 y2 color pintype whichend

Pos. | Field | Type/unit | Description
--- | --- | --- | ---
# | type | char | P
1 | x1 | int/mils | First X coordinate
2 | y1 | int/mils | First Y coordinate
3 | x2 | int/mils | Second X coordinate
4 | y2 | int/mils | Second Y coordinate
5 | color | int | Color index
6 | pintype | int | Type of pin
7 | whichend | int | Specifies the active end

- The pintype is an enumerated type:
  - NORMAL PIN = 0
  - BUS PIN = 1 unused
- The whichend specifies which end point of the pin is the active connection port. Only this end point can have other pins or nets connected to it.
- To make the first end point active, whichend should be 0, else to specify the other end, whichend should be 1.
- Pins can only appear in symbol files.
- Zero length pins are allowed

Example:

    P 0 200 200 200 1 0 0

A pin from (0, 200) to (200, 200) with color index 1, a regular pin, and the first point being the active connection end.