answersLogoWhite

0

gray code is one which changes one bit at a time but binary code is one which changes one or more bit at a time. for example three bit binary and gray code the left one is binary and the right one is gray code.

binary gray

000 000

001 001

010 011

011 010

100 110

101 111

110 101

111 100

000 000

User Avatar

Wiki User

13y ago

Still curious? Ask our experts.

Chat with our AI personalities

BlakeBlake
As your older brother, I've been where you are—maybe not exactly, but close enough.
Chat with Blake
JordanJordan
Looking for a career mentor? I've seen my fair share of shake-ups.
Chat with Jordan
RafaRafa
There's no fun in playing it safe. Why not try something a little unhinged?
Chat with Rafa

Add your answer:

Earn +20 pts
Q: Applications of binary to GRAY code converter?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

BCD to Gray Code Converter?

BCD refers to Binary Code Decimal there are no diagrams it is just a numbers system GRAY code is a means to make one reliable state to change at a time eliminating false coding because of transitions in counters and such


What are different types of binary code?

BCD codes,gray code,error detecting code,ASCII character code,Excess 3 code


Gray code of 111 is?

Gray code is a 'reflected code', why is it named so will be illustrated soon. The advantage of Gray code over binary code is that only one bit in the code group changes when going from one number to the next. By, Ashish Kumar (Roh, Nawada, Bihar)


What is the Binary equivalent of the gray code 11100?

0101 0011 (2) = 53 (16) which in BCD means 53


How do you write a program to convert binary code to gray code using c?

Gray code, named after Frank Gray, a Bell Labs researcher who originally called it "reflected binary code", is used to help correct errors in digital communications. It was developed as a response to preventing desynchronized switching actions, requiring only one switch be flipped to increment or decrement a binary value represented by a hardware-based switch array. The simplest method, without using a whole lot of CPU or brain power, is to create an array of Gray code values that correspond to their binary representation. For example, a 2-bit Gray code array would consist of the following values: int gray2bit[]={0, 1, 3, 2}; A 3-bit Gray code array would be declared and initialized as follows: int gray3bit[]={0, 1, 3, 2, 6, 7, 5, 4}; To find the Gray code for a particular value, simply reference that offset in the desired array: int n=gray2bit[2]; /* results in 3 */ int m=gray3bit[6]; /* results in 5 */ See the related links for more information on Gray codes as well as sample source code that will assist you further.