Hexadezimale Anzeige

Bibliothek: Input/Output
Eingeführt: 2.2.0
Aussehen:

Verhalten

Using a seven-segment display, shows the hexadecimal digit corresponding to the four-bit input. If any of the inputs are not 0/1 (either floating or error), then the display shows a dash ('-'). A separate one-bit input controls the display of the decimal point.

Pins

South edge, first from left (input, bit width 4)
This input is interpreted as an unsigned four-bit number, and the corresponding hexadecimal digit is displayed. If any of the bits are floating or error, then a dash ('-') is displayed.
South edge, second from left (input, bit width 1)
Controls the decimal point. If this is left unconnected, the decimal point remains off.

Attribute

On Color
The color with which to draw the display segments and decimal point when they are on.
Off Color
The color with which to draw the display segments and decimal point when they are off.
Background
The color with which to draw the display's background (transparent by default).

Verhalten des Schaltwerkzeugs

Keines.

Verhalten des Textwerkzeugs

Keines.

Zurück zur Bibliotheksreferenz