lamp

An output, drawn as the schematic's indicator lamp — a circle crossed through — at the end its wire arrives. It lights when that wire carries 1, glowing in the circuit's high: hue or its own colour:. Its label is set beside the glass with its level beneath — a question mark while unknown.

lampNode
Two switches through an AND gate to a lamp lit green.Two switches through an AND gate to a lamp lit green.

#Attributes

colour
The hue this lamp lights in, instead of the circuit's high:.
bluelight-bluedark-blueredlight-reddark-redorangelight-orangedark-orangeyellowlight-yellowdark-yellowteallight-tealdark-tealgreenlight-greendark-greenpinklight-pinkdark-pinkpurplelight-purpledark-purplegreylight-greydark-greyneutralhex(…)rgb(…)
Also written: color
hiddenAnimatable
Declared but not drawn, and taking no room while hidden. Animatable.
Defaultfalse

#Derived attributes

Computed while the element renders — read one with #id.name in attribute position or {{#id.name}} in prose, never set.

levelDerived
The level arriving at it: 0, 1, or absent while unknown — the carry is {{#cout.level}}.

#Allowed content

Body { }The lamp's label, rich inline

#Allowed in

#Examples

lamp#cout{$C_{out}$}
lamp#ok{Ready}(colour: green)

Last updated