8bit7segmDisplayer
by Nazalassa
uploaded 2023-02-26
2 downloads /
4
points
SPH
stock+DLC probe
#7-segments #KAL #display #science!

Description

This wonderful thing (8bit7segmDisplayer, which has 51 parts) takes a 8-bit number, and displays it on a 7-segment display.
No refunds.

Built in the SPH in KSP 1.12.3.

Documentation

The 8 KALs on the top (referenced as konsole) represent the 8 bits of a 8-bit number. Their order is (from left to right) from the most significant to the less significant bit. DON’T touch the ninth KAL.

The display can be either activated or deactivated. To toggle it, press ‘0’ (or whatever key is linked with action group 10).

Bits can only be changed while the display is deactivated, and the result will be correct only when it is activated. By default it is deactivated.

For bits, a play position of 0 means 0 and a play position of whatever the maximum is (in this case it’s 10) means 1.

So once you’ve entered your number, press ‘0’ and it will display the number written in binary on the konsole.

Press ‘0’ again and it will deactivate, allowing you to change the number.

Details

  • Type: SPH
  • Class: probe
  • Part Count: 51
  • Pure Stock
  • KSP: 1.12.3

About the ninth KAL

The state of each of the 21 segments, for each integer, is hardcoded in the ninth KAL.

In total, this KAL has 63 fields assigned, and probably more than 12,000 points in total. So please do NOT, UNDER ANY CIRCUMSTANCES, open its track editor. The game will freeze for 15-20 seconds, or even more, and then will be extremely laggy until you close the window.

Of course I did not enter the values manually… I wrote a python script to do it, and then pasted the output in the .craft file.

Technical info

This thing is the union of two of my previous crafts, so for more info, please see my 8-bit number to KAL position converter and my 7-segment KAL-position display.

The output KAL of the first and the input KAL of the second are the same.

Breaking spacetime and other stuff since [SEGMENTATION FAULT]

swipe to switch images, tap to close
K
S
P