Once you successfully export annexes, if you go to a white, you say it right, the first thing that
you do once you go into a way decides to update and hide that specific right.
So select the platform project.
Remember, am I owed UPI always like on project and my old UPI, CIB News, our application project,
very select platform project, which is my GPO.
In this case, right click and then you get an option to update on hardware specification right to click
on it.
Then choose the same project that, in fact, it will automatically show us the default project location
where we have an excessive blind date to clearly see we have the largest project project in the school
40, which is our workspace for far away, you decide.
And then it uses an excessive line.
So just click OK.
This will automatically start the process of updating our high specification rate to once an upbeat
it's sexist when you get this information that is high specification for a platform project is up to.
Once this is done, you'll automatically see and out of the studio and we already know that how to remove
this steepest rate.
So just press control.
We do start the process of building the platform project first.
Right.
So once you remove out of this, you go to the application project where you have Halliwell's.
So this is I mean, so right here, we will now be performing the required modification.
So we know that Hoogewerf is connected to Am I open 50 and the push button is connected to my pin number.
So let me just use one and we will be reading the status of that button and writing it on penalty rate.
So we again need to set up the data to know push button will behave as an input device.
So we just copy this API.
And then here we will be, there is a do you plan to use push button connected to am I right?
So I am.
I would do it.
We just need to specify a pin number 51 and to set the direction as input.
We just need to add a zero to it.
Right to read the value.
If you go to a GPI op, yes, you could see we have an EPA is to read the value, right?
So x GPI opposite read been basically read the value of the pen and then it basically returns you dirty
direct.
So we we will copy this function.
We go back to our main application that is just declared one variable, which is again a same type that
our function rate and so it is you 32, will give just be this SDD.
And then here we need to pass an instance name.
So instead, structure name is you OK?
And then the pin number is 50, right?
So this will basically return whatever the value that we have on it.
But right now, we will be writing this value on ANNELI.
So we call Rypien function.
And here, instead of the value, we will be writing the value that has been written by that UPI read
pin function right?
Then let's assume that the new value will be read after an interval of two seconds.
So we'll just be increasing this delay to two.
I will also be doing one more thing that is printing this value on the consort.
So to print the value, we have to print, right?
So while you read.
But then 0d and let me just bring the value of data they, you know, do not forget to add a new line.
Correct.
Right.
So this is the modification that we need to remember as soon as you modify your extensive first thing
that you need to do is to go to a black phone project and update and harvest specification.
So this will automatically invoke.
But the new device driver, if we have added a new peripheral to our right as you are all called, will
be running on an FPGA, right?
And once you successfully complete modification of your application code again, you need to build your
project, right?
So you just press will be to start a process of building off your application project.
No one.
We select our application project, right click Debug s launch on Hydro.
So I write this terminal is already connected to Arkansas.
So now the only thing that you need to do is to click on the resume button so you could see GPIO and
it is successful and value related, so you know, I'll try to change the status of a switch.
OK, so if I change the status of a switch?
OK.
You could actually see the value rate is very good actually of that eyes.
I changed the position of a push button, OK, value this one.
And if I release the push button value release, see OK.
So this is how you modify your code.
OK?
Genndy, the new exclusive wine exporter to a white izadi and then perform.
A modification to your application budget, remember that whenever you are working with the push button,
see that you disable the pull of cells, you'll always be reading a constitution when.