The reflected binary code (RBC), also known just as reflected binary (RB) or Gray code after Frank Gray, is an ordering of the binary numeral system such that two successive values differ in only one bit (binary digit).

3-bit Gray Code Position Encoder Disc.png

Glenn Lyons VK4PK
Ver:gnl20190422 - pre published v0.9