1
00:00:00,090 --> 00:00:02,010
So are Bitstream generationally successful?

2
00:00:02,100 --> 00:00:08,700
I will proceed to export hardware into our cities, so we go to file export export hardware.

3
00:00:09,180 --> 00:00:13,700
So this will overwrite an existing excessive file that we have in a box office.

4
00:00:13,710 --> 00:00:17,980
Rates will also be the next select the seamed Eric.

5
00:00:18,030 --> 00:00:26,200
Do we have an existing access if I look next and then allow you to write an existing excessive rate?

6
00:00:26,210 --> 00:00:27,840
So once that is done, click finish.

7
00:00:28,440 --> 00:00:32,610
And now we are ready to go into like this right now here.

8
00:00:32,620 --> 00:00:37,140
What we are going to do is the first thing is we select our platform project.

9
00:00:37,140 --> 00:00:43,890
I click and then we will be selecting update hardware specification rate, selected A.I..

10
00:00:43,890 --> 00:00:47,390
We have our exclusive right and click rate.

11
00:00:48,670 --> 00:00:54,700
So once you get the hardware specification for the platform, the project is updated.

12
00:00:55,200 --> 00:01:01,750
OK, you will just need to click on OK and you'll be finding an out of date status for your platform

13
00:01:01,750 --> 00:01:02,170
projects.

14
00:01:02,170 --> 00:01:05,780
The first thing is we will be building up the black phone project.

15
00:01:05,820 --> 00:01:09,710
Right, so right click and then you have an option to build the project.

16
00:01:09,760 --> 00:01:09,930
Right.

17
00:01:09,940 --> 00:01:15,610
So this is the first thing, the immediate thing that you do as you update your hardware specification

18
00:01:15,820 --> 00:01:16,780
to what that is.

19
00:01:16,790 --> 00:01:21,340
And now we go to our application project where we will be updating our application.

20
00:01:21,580 --> 00:01:23,710
Right now, this is an existing.

21
00:01:24,620 --> 00:01:29,180
Could that be used to turn on and off and alleviate an interval of one second?

22
00:01:29,210 --> 00:01:35,780
Right now, since we are utilizing a GP, I hope the initialization process will remain as it is right,

23
00:01:35,780 --> 00:01:38,210
so we do not need to do any modification to it.

24
00:01:38,480 --> 00:01:43,730
We think that we need to changes the data protection because now we are using a switcher, so data protection

25
00:01:43,730 --> 00:01:44,160
should be.

26
00:01:44,360 --> 00:01:48,740
So we'll just be replacing all zeros with F since we have 16 switches.

27
00:01:48,740 --> 00:01:55,780
So we'll be setting up the list with 16 bit iswhat, which is equal to FSF in hexadecimal, right?

28
00:01:55,790 --> 00:02:00,920
So once that is done now, we declared one variable which will be storing the data that we read from

29
00:02:00,920 --> 00:02:01,340
a switch.

30
00:02:01,560 --> 00:02:03,400
So we go to an next Nottage.

31
00:02:03,680 --> 00:02:07,880
And you could clearly see we have a discrete lead function that returns you 32.

32
00:02:07,880 --> 00:02:11,270
So we need to declare the variable that will hold this value, right?

33
00:02:11,750 --> 00:02:13,680
So let it just go to a mean function.

34
00:02:13,700 --> 00:02:18,590
We will be declaring you 32 and we need this as DTD, right?

35
00:02:19,630 --> 00:02:21,890
And we'll also be initializing it with you.

36
00:02:21,910 --> 00:02:28,570
Now we go to our rival, so we want to read the value of the switch at an interval of one second and

37
00:02:28,570 --> 00:02:31,550
then that value will be sending one, the CTA told me now.

38
00:02:31,680 --> 00:02:31,880
Right.

39
00:02:31,900 --> 00:02:35,950
So we will be copying this function needed.

40
00:02:37,150 --> 00:02:39,960
Will be to the street.

41
00:02:40,210 --> 00:02:45,220
And here we need to specify the Insta structure, which is stupid and the chain in the movie just like,

42
00:02:45,280 --> 00:02:45,550
right?

43
00:02:45,880 --> 00:02:52,740
So once we read to the value in retreat now we use the death to send a value to a serial terminal,

44
00:02:52,750 --> 00:02:53,010
right?

45
00:02:53,410 --> 00:02:54,310
So value.

46
00:02:55,630 --> 00:03:02,650
The Red Oak, France, which and will just be adding person 0d new line character.

47
00:03:03,130 --> 00:03:04,450
OK, go ahead.

48
00:03:04,480 --> 00:03:08,040
And the value is inside the ring, right?

49
00:03:08,320 --> 00:03:14,290
Once that is done, we'll just be adding the delay of one second by utilizing sleep function, right?

50
00:03:14,500 --> 00:03:16,780
So this is the logic that we want to add.

51
00:03:17,590 --> 00:03:19,570
You need the value for all the switches.

52
00:03:19,570 --> 00:03:22,690
I'm saying the value to determine and now we'll just be saving.

53
00:03:23,440 --> 00:03:28,090
And once you see your hood, the next thing that you do is to build an application project.

54
00:03:29,070 --> 00:03:33,860
Right to select an application project, right click and then you have a big project, great.

55
00:03:33,870 --> 00:03:39,600
So remember, as we update and hardware specification, first thing that you do is to build the platform

56
00:03:39,600 --> 00:03:39,990
project.

57
00:03:40,260 --> 00:03:48,350
As you update your sequel, you need to upgrade your application prior to when both the builds are successful.

58
00:03:48,870 --> 00:03:51,500
You are ready to perform a debugging, right?

59
00:03:51,520 --> 00:03:58,290
So select an application project debug as, OK, launch on hardware.

60
00:03:58,320 --> 00:04:06,050
So here, one more thing that you could do is since we utilize debug configuration in the previous year.

61
00:04:06,060 --> 00:04:11,790
Also, so good idea could be that you delayed the debug configuration that you use in a previous case

62
00:04:11,790 --> 00:04:12,360
and set up.

63
00:04:12,360 --> 00:04:18,090
The new configuration will likely debug as debug configuration, and you could see we have an existing

64
00:04:18,090 --> 00:04:19,050
debug configuration.

65
00:04:19,050 --> 00:04:21,390
So we'll just be clicking on delete button.

66
00:04:21,630 --> 00:04:21,960
OK.

67
00:04:22,380 --> 00:04:25,650
So this will delete an existing debug configuration.

68
00:04:26,220 --> 00:04:31,650
Right click Real this debug, sorry and then launch.

69
00:04:32,500 --> 00:04:35,870
So this will create the new configuration for us.

70
00:04:35,950 --> 00:04:36,180
Right.

71
00:04:36,190 --> 00:04:43,620
So once our programming is successful, we'll go ahead and first connect to a single dummy to connect

72
00:04:43,620 --> 00:04:44,580
to a single dominant.

73
00:04:44,850 --> 00:04:46,110
The process is very simple.

74
00:04:46,140 --> 00:04:52,020
Just click on this plus button, select the respect you can pull, and the market for us would be nine

75
00:04:52,020 --> 00:04:52,800
six zero zero.

76
00:04:53,070 --> 00:04:58,260
So once this is done, we will be connected to the serial terminal and then we are ready to execute

77
00:04:58,260 --> 00:05:00,630
our application to to execute an application.

78
00:05:00,900 --> 00:05:02,970
You just need to click on resume, right?

79
00:05:03,270 --> 00:05:08,610
So now you could see since all this, which is not you able to see a value in.

80
00:05:08,610 --> 00:05:16,560
So now I will turn on the switches one by one from any list besides so right as I turn on the Elizabeth,

81
00:05:16,650 --> 00:05:18,360
which you lever to read the value of.

82
00:05:18,360 --> 00:05:26,490
When the next switch, you'll be able to read the value of three, seven, 50, 31 and so on and so

83
00:05:26,490 --> 00:05:26,700
forth.

84
00:05:26,940 --> 00:05:31,860
So this is how we could read the letter from the duplicate.
