Difference between revisions of "Compose Bits Byte (LogiX node)"
Jump to navigation
Jump to search
m (oops) |
(Marked this version for translation) |
||
Line 25: | Line 25: | ||
The following example showcases the binary number <code>11010010</code> being converted to the byte with value <code>210</code>. | The following example showcases the binary number <code>11010010</code> being converted to the byte with value <code>210</code>. | ||
+ | <!--T:6--> | ||
[[File:Logix Example ComposeBitsByte.png]] | [[File:Logix Example ComposeBitsByte.png]] | ||
Latest revision as of 04:31, 12 June 2023
Compose Bits Byte | ||
---|---|---|
Inputs | ||
Bool | Bit0 | |
Bool | Bit1 | |
Bool | Bit2 | |
Bool | Bit3 | |
Bool | Bit4 | |
Bool | Bit5 | |
Bool | Bit6 | |
Bool | Bit7 | |
Outputs | ||
Byte | Integer |
The Compose Bits Byte node takes a series of boolean values, interprets the boolean values as bits, and converts the bits to a byte.
Usage
This node takes 8 boolean values as input, and outputs a byte. If an input is true
, its value is 1
. Otherwise, its value is 0
. The least significant bit is at the top, and the most significant bit is at the bottom.
Examples
The following example showcases the binary number 11010010
being converted to the byte with value 210
.