PACK (FUN)

 

FUNCTION PACK : BYTE

Packs 8 bits into 1 byte

InOut:

Scope

Name

Type

Comment

Return

PACK

BYTE

Value for the input BO..B7

Input

B0

BOOL

Input bit 0

B1

BOOL

Input bit 1

B2

BOOL

Input bit 2

B3

BOOL

Input bit 3

B4

BOOL

Input bit 4

B5

BOOL

Input bit 5

B6

BOOL

Input bit 6

B7

BOOL

Input bit 7