The gray code is a binary numeral system where two successive values differ in only one bit.