Talent will come to this and you listen and watch I will show you how you can easily read in books that
are using pick it up.
Now as you can see this is the first example that we discussed earlier in order to turn the flash off.
When I said even let's say that we added a push button on port see.
First we need to define party output.
C equals zero.
X x f with a dimension that using F F and hexadecimal because Scoby this the tears as you can see it
means that all because of Part B of wafty are not about the same thing must be done which is had the
initial value of zero for all of this pain or this port pins pt. s..
Burns.
Now if you want to read let's say that we have a brush but all connected to board t of zero.
Clearly the set of brackets here and in the tears here we need to ask if Paul's seed of zero equals
one.
Now if that is the value all party equals one this means that the switch is blessed and if the switch
is placed do execute this code which will flash for the ones to turn but the wait for a second to turn
it off and wait for half a second.
Now let's combine it
as you can see everything is done.
Now let me explain what happened here.
As you can see in this area we have it was just used for reading in both values.
And we have lotteries start to sending out what values now form to do the very same code.
This code in let's say pick 16 of we want to use language just we would like the very same lines.
Let me just go with this code to show you the difference.
And we will write port D for the.
So this code will be for pick 16 and this code will be for pick it up.
The main difference here is that port here is used for input for reading input and sending output while
here port is only used for reading about why if you want to send output we need to use.
I know that this means extra programming in Forth but it will solve the problem that we already mentioned
in a separate section.
Read modify write problem.
You should check it out to know what's this problem and using Pythian gives you a lot of modules from
other Rubaiyat is that pick 16 doesn't have.
So you need to make sure that you take nauts again.
Port is used to read unbought lad is used to read out to send output and pick it up while in pick 16
of port is used to read input and output.
That's it for this lesson.
I will show you a simulation in the next lecture.
Thanks for watching.
If you have any questions please ask and the full on table.
This is educational engineering to you.