Components, electrical

resistor

Every option, pin and variant of resistor, as release 1.3.1 of the compiler states them.

Pins

resistor specimen1 component and 0 connections.R1inout
resistor specimen
resistor with its default options, pins named.

Pin functions

PinSide
inleft
outright

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

OptionAcceptsDefault
typeOne of 6 values: fixed,variable,rheostat,potentiometer,thermistor,ldrfixed
orientationOne of 4 values: right,down,left,upright

Variants

Pin names depend on the selected variant. Each drawing labels its own pins.

resistor specimen1 component and 0 connections.R1inout
resistor specimen
type=fixed

in (left),out (right)

resistor specimen1 component and 0 connections.R1inout
resistor specimen
type=variable

in (left),out (right)

resistor specimen1 component and 0 connections.R1inout
resistor specimen
type=rheostat

in (left),out (right)

resistor specimen1 component and 0 connections.R1inout
resistor specimen
type=potentiometer

in (left),out (right)

resistor specimen1 component and 0 connections.R1inout
resistor specimen
type=thermistor

in (left),out (right)

resistor specimen1 component and 0 connections.R1inout
resistor specimen
type=ldr

in (left),out (right)

Writing one

resistor:R1 at (120, 83) #amber