1
00:00:00,150 --> 00:00:05,850
Once you successfully export annexes, if you go to a white, you say it right, the first thing that

2
00:00:05,850 --> 00:00:12,120
you do once you go into a way decides to update and hide that specific right.

3
00:00:12,120 --> 00:00:13,470
So select the platform project.

4
00:00:14,090 --> 00:00:19,980
Remember, am I owed UPI always like on project and my old UPI, CIB News, our application project,

5
00:00:19,990 --> 00:00:22,970
very select platform project, which is my GPO.

6
00:00:22,980 --> 00:00:28,170
In this case, right click and then you get an option to update on hardware specification right to click

7
00:00:28,170 --> 00:00:28,500
on it.

8
00:00:29,890 --> 00:00:38,950
Then choose the same project that, in fact, it will automatically show us the default project location

9
00:00:39,190 --> 00:00:43,730
where we have an excessive blind date to clearly see we have the largest project project in the school

10
00:00:43,800 --> 00:00:46,450
40, which is our workspace for far away, you decide.

11
00:00:48,340 --> 00:00:50,920
And then it uses an excessive line.

12
00:00:51,070 --> 00:00:52,000
So just click OK.

13
00:00:52,460 --> 00:00:58,840
This will automatically start the process of updating our high specification rate to once an upbeat

14
00:00:58,840 --> 00:01:05,140
it's sexist when you get this information that is high specification for a platform project is up to.

15
00:01:05,350 --> 00:01:10,700
Once this is done, you'll automatically see and out of the studio and we already know that how to remove

16
00:01:10,720 --> 00:01:11,540
this steepest rate.

17
00:01:11,560 --> 00:01:12,760
So just press control.

18
00:01:12,760 --> 00:01:16,890
We do start the process of building the platform project first.

19
00:01:17,210 --> 00:01:17,470
Right.

20
00:01:17,470 --> 00:01:24,120
So once you remove out of this, you go to the application project where you have Halliwell's.

21
00:01:24,490 --> 00:01:31,060
So this is I mean, so right here, we will now be performing the required modification.

22
00:01:31,510 --> 00:01:38,950
So we know that Hoogewerf is connected to Am I open 50 and the push button is connected to my pin number.

23
00:01:39,400 --> 00:01:46,390
So let me just use one and we will be reading the status of that button and writing it on penalty rate.

24
00:01:46,750 --> 00:01:51,220
So we again need to set up the data to know push button will behave as an input device.

25
00:01:51,400 --> 00:01:53,350
So we just copy this API.

26
00:01:54,390 --> 00:02:01,730
And then here we will be, there is a do you plan to use push button connected to am I right?

27
00:02:01,740 --> 00:02:02,070
So I am.

28
00:02:02,070 --> 00:02:02,700
I would do it.

29
00:02:03,180 --> 00:02:07,170
We just need to specify a pin number 51 and to set the direction as input.

30
00:02:07,170 --> 00:02:08,940
We just need to add a zero to it.

31
00:02:08,940 --> 00:02:10,800
Right to read the value.

32
00:02:10,800 --> 00:02:16,220
If you go to a GPI op, yes, you could see we have an EPA is to read the value, right?

33
00:02:16,530 --> 00:02:24,560
So x GPI opposite read been basically read the value of the pen and then it basically returns you dirty

34
00:02:24,570 --> 00:02:24,990
direct.

35
00:02:24,990 --> 00:02:27,720
So we we will copy this function.

36
00:02:28,740 --> 00:02:34,110
We go back to our main application that is just declared one variable, which is again a same type that

37
00:02:34,110 --> 00:02:39,010
our function rate and so it is you 32, will give just be this SDD.

38
00:02:39,570 --> 00:02:43,410
And then here we need to pass an instance name.

39
00:02:43,650 --> 00:02:46,370
So instead, structure name is you OK?

40
00:02:46,380 --> 00:02:48,540
And then the pin number is 50, right?

41
00:02:48,570 --> 00:02:52,650
So this will basically return whatever the value that we have on it.

42
00:02:52,860 --> 00:02:57,360
But right now, we will be writing this value on ANNELI.

43
00:02:57,360 --> 00:03:00,060
So we call Rypien function.

44
00:03:00,060 --> 00:03:06,920
And here, instead of the value, we will be writing the value that has been written by that UPI read

45
00:03:07,080 --> 00:03:08,220
pin function right?

46
00:03:08,220 --> 00:03:13,590
Then let's assume that the new value will be read after an interval of two seconds.

47
00:03:13,590 --> 00:03:15,840
So we'll just be increasing this delay to two.

48
00:03:16,180 --> 00:03:20,130
I will also be doing one more thing that is printing this value on the consort.

49
00:03:20,140 --> 00:03:24,050
So to print the value, we have to print, right?

50
00:03:24,240 --> 00:03:26,250
So while you read.

51
00:03:27,800 --> 00:03:35,390
But then 0d and let me just bring the value of data they, you know, do not forget to add a new line.

52
00:03:35,420 --> 00:03:35,870
Correct.

53
00:03:36,050 --> 00:03:36,320
Right.

54
00:03:36,860 --> 00:03:42,950
So this is the modification that we need to remember as soon as you modify your extensive first thing

55
00:03:42,950 --> 00:03:47,330
that you need to do is to go to a black phone project and update and harvest specification.

56
00:03:47,540 --> 00:03:49,730
So this will automatically invoke.

57
00:03:50,000 --> 00:03:58,580
But the new device driver, if we have added a new peripheral to our right as you are all called, will

58
00:03:58,580 --> 00:04:00,500
be running on an FPGA, right?

59
00:04:00,710 --> 00:04:07,850
And once you successfully complete modification of your application code again, you need to build your

60
00:04:07,850 --> 00:04:08,510
project, right?

61
00:04:08,530 --> 00:04:12,980
So you just press will be to start a process of building off your application project.

62
00:04:13,010 --> 00:04:13,550
No one.

63
00:04:15,560 --> 00:04:20,800
We select our application project, right click Debug s launch on Hydro.

64
00:04:21,800 --> 00:04:25,580
So I write this terminal is already connected to Arkansas.

65
00:04:26,990 --> 00:04:32,600
So now the only thing that you need to do is to click on the resume button so you could see GPIO and

66
00:04:32,600 --> 00:04:38,240
it is successful and value related, so you know, I'll try to change the status of a switch.

67
00:04:38,570 --> 00:04:41,900
OK, so if I change the status of a switch?

68
00:04:42,090 --> 00:04:42,440
OK.

69
00:04:43,680 --> 00:04:49,590
You could actually see the value rate is very good actually of that eyes.

70
00:04:49,620 --> 00:04:54,470
I changed the position of a push button, OK, value this one.

71
00:04:54,480 --> 00:04:58,700
And if I release the push button value release, see OK.

72
00:04:59,010 --> 00:05:01,290
So this is how you modify your code.

73
00:05:01,540 --> 00:05:01,870
OK?

74
00:05:02,000 --> 00:05:06,930
Genndy, the new exclusive wine exporter to a white izadi and then perform.

75
00:05:07,890 --> 00:05:12,390
A modification to your application budget, remember that whenever you are working with the push button,

76
00:05:12,390 --> 00:05:16,770
see that you disable the pull of cells, you'll always be reading a constitution when.
