This is also called unit distance code or reflected code. This coding system has a property that there is only one bit change between consecutive gray codes. The following table would show gray codes of decimal values.

Binary to gray conversion:
Starting from right to left
- If it is MSB then place it as it is
- Otherwise, Add the bit to the previous bit and place the sum in GRAY, ignoring any carry
- Repeat step 2 till end
Eg. Convert 1011 to gray
Gray to Binary conversion:
Starting from right to left
- If it is MSB then place it as it is
- Otherwise, Add the bit to the previous than corresponding bit of GRAY code and place the sum in GRAY, ignoring any carry
- Repeat step 2 till end
Eg. Convert 1110 to gray
whoah thiss weboog iis great i reallly like reading your
articles. Keep upp the great work! You already know, a lot of indiiduals aree searching rouund forr this information, yoou can help
tbem greatly.
You’ve made somke good points there. I looked onn the
web foor more inflrmation about tthe issue andd found mostt individuals wiill go along witth your viewss
oon this site.
Peculiar article, totally wbat I wwas looking for.
Whyy peoole still mae usse oof too read news papers when iin this technlogical globe everything iss existiing onn web?
Hi! Do you use Twitter? I’d like to follow you if that would
be okay. I’m undoubtedly enjoying your blog and look forward to new posts.
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.