Hello friends!
In this part of video I just use the same pin as a input pin or specially digital input pin.
So over here as you see the yellow one is connected to port zero pin line one.
And over here I have available with me ground pin and one I use that is five volt.
That is red one.
So this one is my five volt.
This one is my ground.
So let's check what happened to this input pin.
So in the software part over here you just need to drag this little input block over here.
You need to click on it.
Unselect.
All right.
Now I'm using pin numbers.
One means for zero line one you just need to apply it okay.
Over here to check the output you just need a scope.
Let's say I just drag a scope over here.
Connect this scope.
So in the programming part over here, this is my scope.
Let's say I just use a display also.
So just click over here.
I just need our display.
To check the output.
Just connect it to also with the same wire.
The scope will show you the output that is zero one because I'm using digital pin over here.
So as you see over here this is my scope I just minimize it.
Okay.
So over here you just check the output.
And over here again in the form of 0 or 1.
So right now I just run it and I just connect with ground pin over here.
Okay.
So as you see we get zero and in the scope also we got zero over here.
So now I just remove zero and connect five volt over here.
As you see it will show me one over here again one over here.
This is how you can acquire a digital signal.
In this case I'm just using single pin.
You can use multiple multiple pins also.
So this is how you can acquire a digital signal and visualize it in your PC, in the scope or in a display.
This is all about today's lecture.
Thank you.