Switch
| Library: | Input/Output-Extra |
Behavior
Models a manually operated switch. When closed, it passes the input value to the output. When open, the output is unknown. A newly placed switch is open.
Pins
- Input
- An input whose width is selected by the
Data Bits
attribute. - Output
- The input value when the switch is closed, or an unknown value when it is open.
Attributes
When the component is selected or being added, the arrow keys alter its Facing
attribute.
- Facing
- The direction from the input toward the output.
- Data Bits
- The bit width of the input and output.
- Color
- The color used to fill the switch body.
- Label
- The text associated with the component.
- Label Location
- The location of the label relative to the component.
- Label Font
- The font used to draw the label.
Poke Tool Behavior
Click the switch to toggle it between open and closed.
Text Tool Behavior
Allows the label associated with the component to be edited.