Components, electrical
resistor
Every option, pin and variant of resistor, as release
1.3.1
of the compiler states them.
Pins
resistor with its default options, pins named.Pin functions
| Pin | Side |
|---|---|
in | left |
out | 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 6 values: fixed,variable,rheostat,potentiometer,thermistor,ldr | fixed |
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=fixed in (left),out (right)
type=variable in (left),out (right)
type=rheostat in (left),out (right)
type=potentiometer in (left),out (right)
type=thermistor in (left),out (right)
type=ldr in (left),out (right)
Writing one
resistor:R1 at (120, 83) #amber