Hallo,
ich möchte 8 Variable (je ein Bit) als Binärwert zusammen fassen.
Beispiel:
Binärwert = Bit1 & Bit2 & Bit3 & Bit4 & Bit5 & Bit6 & Bit7 & Bit8
&B10101010 = 1 & 0 & 1 & 0 & 1 & 0 & 1 & 0
Habt ihr eine Idee wie das gehen kann?
Hallo,
ich möchte 8 Variable (je ein Bit) als Binärwert zusammen fassen.
Beispiel:
Binärwert = Bit1 & Bit2 & Bit3 & Bit4 & Bit5 & Bit6 & Bit7 & Bit8
&B10101010 = 1 & 0 & 1 & 0 & 1 & 0 & 1 & 0
Habt ihr eine Idee wie das gehen kann?
Lesezeichen