Components, electrical
diode
Every option, pin and variant of diode, as release
1.3.1
of the compiler states them.
Pins
diode with its default options, pins named.Pin functions
| Pin | Side |
|---|---|
anode | left |
cathode | right |
A wire names a pin as ID.pin. Rotating the part moves the pins with it; their names stay the same.
Options
Options go in square brackets after the colour, as name=value. Any option not listed here is an error.
Options
| Option | Accepts | Default |
|---|---|---|
type | One of 8 values: standard,schottky,zener,led,photodiode,varactor,scr,triac | standard |
orientation | One of 4 values: right,down,left,up | right |
Variants
Pin names depend on the selected variant. Each drawing labels its own pins.
type=standard anode (left),cathode (right)
type=schottky anode (left),cathode (right)
type=zener anode (left),cathode (right)
type=led anode (left),cathode (right)
type=photodiode anode (left),cathode (right)
type=varactor anode (left),cathode (right)
type=scr anode (left),cathode (right)
type=triac anode (left),cathode (right)
Writing one
diode:D1 at (120, 107) #amber