# Gray Code

The reflected binary code, also known as Gray code after Frank Gray, is a binary numeral system where two successive values differ in only one bit. It is a non-weighted code.

The reflected binary code was originally designed to prevent spurious output from electromechanical switches. Today, Gray codes are widely used to facilitate error correction in digital communications such as digital terrestrial television and some cable TV systems.

### Other articles related to "gray code, gray codes, code":

Steinhaus–Johnson–Trotter Algorithm - Relation To Gray Codes
... A Gray code for numbers in a given radix is a sequence that contains each number up to a given limit exactly once, in such a way that each pair of consecutive numbers differs by one in a single ... of inversions that differ by one, forming a Gray code for the factorial number system ... More generally, combinatorial algorithms researchers have defined a Gray code for a set of combinatorial objects to be an ordering for the objects in which each ...
Dragon Curve - Heighway Dragon - Folding The Dragon - Gray Code Method
... Using Gray code, starting from zero, determine the change to the next value ... Given a binary input, B, the corresponding gray code, G, is given by "G = B XOR (B>>1)" ... G = B^(B >> 1) This gets gray code from binary ...
Gray Series - Converting To and From Gray Code
... following functions in C convert between binary numbers and their associated Gray codes ... is to convert an unsigned binary number to reflected binary Gray code. 1) ^ num } /* The purpose of this function is to convert a reflected binary Gray code number to a binary number ...
Special Types of Gray Codes - Single-track Gray Code
... Yet another kind of Gray code is the single-track Gray code (STGC) developed by N. 28, 1994) and refined by Hiltgen, Paterson and Brandestini in "Single-track Gray codes" (1996) ... up the tracks so that the data output by the contacts are in Gray code ...
Gillham Code
... Gillham code is a digital code using an eleven-wire interface that is used to transmit uncorrected barometric altitude between an encoding altimeter or analog air data computer ... It is a modified form of a Gray code and is sometimes referred to as a "Gray code" in avionics literature ... The code was named in memory of Ronald Lionel Gillham, the UK's representative to the IATA committee developing the specification for the second generation of Air Traffic Control System, known in the UK as "Plan Ahead ...

### Famous quotes containing the words code and/or gray:

Wise Draco comes, deep in the midnight roll
Of black artillery; he comes, though late;
In code corroborating Calvin’s creed
And cynic tyrannies of honest kings;
He comes, nor parlies; and the Town, redeemed,
Gives thanks devout; nor, being thankful, heeds
The grimy slur on the Republic’s faith implied,
Which holds that Man is naturally good,
And—more—is Nature’s Roman, never to be
scourged.
Herman Melville (1819–1891)

Each in his narrow cell for ever laid,
The rude forefathers of the hamlet sleep.
—Thomas Gray (1716–1771)