Hello, friends.
Today I will tell you how to convert a binary number to be a code and a great code to find.
First, I will tell you binary to break code for that purpose.
I just use a push button
so I just know its level.
If you want to copy it, just select the item control.
Drag it.
Right now I'm using for weight number.
From here you can arrange it based on my input.
Then I need
specific
output.
So let's say I choose a square OLED over here.
This is my output gain.
Chain gets label
copy.
And
so arrange these items.
So as you see over here, this is my input signal, which is in binary.
And over here I need prerecord.
So first I know that the input signal was active and the second bit is the exclusive or of plus two.
So it is exclusive of this and it will be a later grade code again at either excluding or auto section
in part excluding or off part.
And fourth, it will give me a call.
So as you see out now, let's say my personal is 1101.
Okay.
So now I want to point out the grey code, so or here I go to the grey code 1011 of this if you want
to check out the code of 1001 and you see I got this function.
If you want to check out the grey code of the signal, the code is this.
So this is how you can generate grey code
from the forward finding number.
So now the problem is I want to find out the binary it blank from the great code.
So I just copy these items
and place it over here.
So I reduce the space here.
And
so this is my in particular model for the binary to break.
And this is my second function, which is greater binding.
So over here right now, I just get the input over here.
This is my third
and my second
best and my fourth.
So I want to place it according to the position.
This is second.
This is my first.
This is my third and this is my fourth.
So, again, I want to rearrange these.
So this is my grade
and this is my binder.
So I want to just delete this because over here the function is different.
So as you see or here, in case of when we convert a signal from gray to binary, we need exclusive
or
exclusive or I require.
So first is is this, as you see from here to here.
And second is exclusive of this.
It will give me that record.
Then next is exclusive of output of this
next exclusive or of output of this.
And it will give me the binding.
Okay.
So now let's say I want to check the output of this off or so and I hit on.
And then as you see the binary number or here is zero one, zero one and it's black.
Ortiz 0111.
So again, when I put a gray code, 0111.
In that case, because this is my record, so I want to verify that the code is right or not.
So when A.D. 0111, the binary code is again 0101.
So from here it is verified.
So right now, using this process, you can convert binary to gray and gray to binary for or here
binary to gray or conversion.
And over here is gray to binary conversion.
So using this process, you can convert one format to another format.
And later, electronics.
Thank you.