The reflected binary code , also known as the Gray code , is closely related to binary numbers .
Some bits are inverted , depending on the parity of the higher order bits .
The reflected binary code , also known as the Gray code , is closely related to binary numbers , but some bits are inverted , depending on the parity of the higher order bits .