| |
7-Segment Display
Behavior
Displays the values of its eight one-bit inputs. When an input is 1,
it colors the corresponding "segments" of the component; the area is light gray
when its corresponding segment is 0. The correspondence is as
follows.
(Manufacturers vary as to how they map inputs to segments; the
correspondence used here is based on Texas Instruments'
TIL321.)
Pins
- North edge, first from left (input, bit width 1)
- Controls the middle horizontal segment.
- North edge, second from left (input, bit width 1)
- Controls the upper vertical segment on the left side.
- North edge, third from left (input, bit width 1)
- Controls the upper horizontal segment.
- North edge, fourth from left (input, bit width 1)
- Controls the upper vertical segment on the right side.
- South edge, first from left (input, bit width 1)
- Controls the lower vertical segment on the left side.
- South edge, second from left (input, bit width 1)
- Controls the bottom horizontal segment.
- South edge, third from left (input, bit width 1)
- Controls the lower vertical segment on the right side.
- South edge, fourth from left (input, bit width 1)
- Controls the decimal point.
Attributes
- Color
- The color with which to draw the display segments and decimal point when
they are on.
Poke Tool Behavior
None.
Text Tool Behavior
None.
Back to Library Reference
|