The Segment Display is a redstone circuit added by Project Red since version 4.5.9. It functions as a digital display for signals in Bundled Cables (see Usage). Since version "4.6.2", the color of the Segment Display can be changed freely with dyes.
Recipe[edit | edit source]
Usage[edit | edit source]
The gate has two different display modes, the SSD (seven-segment display) mode and the SISD (sixteen-segment display) mode, which can be switched by using the screwdriver from Project Red by holding the crouch-key. Without the crouch-key the orientation of the gate can be changed freely in all four directions.
In both modes the gate shows means glowing segments the corresponding active channels (color) in the connected Bundled Cable. The following table and the numbers in the picture shows which segment corresponds to which channel (color).
|Color||White||Orange||Magenta||Light Blue||Yellow||Lime||Pink||Grey||Light Grey||Cyan||Purple||Blue||Brown||Green||Red||Black|
Interaction with ComputerCraft/OpenComputers[edit | edit source]
The 16 bars on the SISD-Segment Display allow 216 (65536) combination options. With the computers, player can send a self-chosen combination via Bundled Cable to the display, which then displays this combination. Furthermore, a generated redstone signal from the cable can be read and the corresponding number can be found.
The following table shows the combination numbers of the Latin alphabet and Arabic numbers:
|Character||Combination number||Character||Combination number||Character||Combination number||Character||Combination number|
Example with ComputerCraft[edit | edit source]
An example is displayed on the picture 2 on the right. In this picture is shown an interaction between the Segment Display and an Advanced Computer of ComputerCraft. The interface between the computer and the Bundled Cable allows the Bundled I/O peripheral (grey block) of FirePeripherals. Note the Bundled I/O is no longer needed, because ComputersCraft can interact directly with Bundled Cables (see Without Bundled I/O).
With Bundled I/O[edit | edit source]
The following command wraps the Bundled I/O (which is on the left side of the computer) to the computer:
bundledio = peripheral.wrap("left")
Now the player can send a combination number about the wrapped Bundled I/O to the Segment Display. In this example, the number "35023" is sent with the following command, which produces the letter "A" on the Segment Display.
Without Bundled I/O[edit | edit source]