patchquinn
Junior Member level 1
what is grey code with example
hi, this might seem like a dumb question, but is there a convention for counting in the grey code for an arbitrary number of bits? For example with 3 bits there are number of possibilities , 000, 001, 011, 010, 110,111,101,100
0r
000,001,011,010,110,100,101,111
when you get to four bits it gets more confusing, I assume you try to have the lower value numbers first. But there must be some sort of algorithm. cant seem to find one on the web
cheers
hi, this might seem like a dumb question, but is there a convention for counting in the grey code for an arbitrary number of bits? For example with 3 bits there are number of possibilities , 000, 001, 011, 010, 110,111,101,100
0r
000,001,011,010,110,100,101,111
when you get to four bits it gets more confusing, I assume you try to have the lower value numbers first. But there must be some sort of algorithm. cant seem to find one on the web
cheers