I am trying to figure out an efficient way to go from a strange Gray code to either Binary Reflected Gray Code or to normal binary.
The pattern goes:
000000
000001
000101
000100
000110
000111
010111
010110
010100
010101
010001
010000
010010
010011
011011
011010
011000
011001
001101
011100
011110
011111
1011111
1011110
1011100
1011101
and so on...
it uses up to 12 bits.