This question already has answers here: 开发者_开发知识库 Closed 11 years ago. Possible Duplicate:
Given a gray code f开发者_运维知识库or a number, find the binary code for the number. Gray code is a binary numeral system where two successive values differ in only one bit.
I have a small 8-bit processor which has a N-to-M decoder on some output lines - eg, for the 5 to 32 bit case, I write 00101 and bit 5 changes state.The only interface to the output is change-state, t
Locked. This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions.
Just a matter of curiosity, is the Gray code defined for bases other than base two? I tried to count in base 3, writing consecutive values paying attention to change only one trit at a time. I\'ve be
Is there a built in Gray code datatype anywhere in the .NET framework?Or conversion utility between Gray and binary?I co开发者_如何学Pythonuld do it myself, but if the wheel has already been invented.