
|
INFO - FAQ - CC2-Forum - CCPro-Forum |
|
||
|
Hallo! Ich brauche wieder hilfe! Ich möchte ein Byte erstellen, indem ich 8 einzelne Zustände als Bits in Reihenfolge in ein Byte packe. a=1 b=0 c=1 d=1 e=0 f=0 g=1 h=1 soll zu &B10110011 werden. Wie stelle ich das an? Dann will ich "var = &B10110011" umrechnen und "var" seriell versenden. Nächste Frage: Wie bekomme ich dann wieder aus "var" a=1 b=0 c=1 d=1 e=0 f=0 g=1 h=1 Gruß |
| Antwort schreiben |