1
00:00:00,570 --> 00:00:01,620
Hello, welcome back.

2
00:00:02,070 --> 00:00:09,930
So let's update our posture function here to see if we can if that would allow us to be able to print

3
00:00:09,930 --> 00:00:11,370
much more, you know.

4
00:00:12,220 --> 00:00:19,150
Effectively, I'm going to create a new function here, I'll call you out to right, so there's a function

5
00:00:19,150 --> 00:00:23,830
that would write data today you ought to underscore.

6
00:00:23,830 --> 00:00:24,220
Right?

7
00:00:24,460 --> 00:00:29,500
It's going to take an argument of Int S.H. over here to time.

8
00:00:30,920 --> 00:00:35,440
OK, so what we want to do is we want to write to the data register of the are.

9
00:00:35,540 --> 00:00:39,350
But before that, what we have to wait for the status bit to be said.

10
00:00:39,800 --> 00:00:41,320
So I say well over here.

11
00:00:45,810 --> 00:00:53,490
Then I'll see you at 2:00 and then I'll access the status register and then I'll perform an end operation

12
00:00:53,490 --> 00:00:59,010
with this hexadecimal number and this will check a particular bit the status register to see if that

13
00:00:59,010 --> 00:01:00,020
-- is set or not.

14
00:01:02,530 --> 00:01:12,070
OK, so this will run the check and then after the bit is set, then we can come over here and then

15
00:01:12,070 --> 00:01:16,670
right our data, which is going to be passed us argument here to the you ought to be fruit.

16
00:01:17,230 --> 00:01:22,840
So I'll see you at two D-R today to register Ecorse.

17
00:01:25,160 --> 00:01:26,810
H, which is for argument.

18
00:01:28,850 --> 00:01:37,820
Then it's your ex if you're like this, and then we're going to return S.H..

19
00:01:39,220 --> 00:01:43,220
OK, so now over here, what I'm going to do is.

20
00:01:44,750 --> 00:01:49,040
I'm going to first of all, I'm going to put this on top of good toucha.

21
00:01:53,420 --> 00:01:58,730
And I'm going to call this function instead of where you are to write function, so I'll see you at

22
00:01:58,760 --> 00:01:59,900
right over here.

23
00:02:02,640 --> 00:02:11,370
Rather than use our rather than use this one, obviously you are right, then we simply pass S.H. in

24
00:02:11,370 --> 00:02:12,120
here like this.

25
00:02:15,330 --> 00:02:16,740
OK, so now.

26
00:02:19,250 --> 00:02:20,690
Let's build and see what we have.

27
00:02:21,050 --> 00:02:23,600
So this is our last project, we bought a cute.

28
00:02:24,520 --> 00:02:26,350
OK, I'm going to click here to build.

29
00:02:30,600 --> 00:02:32,190
We have to address and see.

30
00:02:33,280 --> 00:02:37,900
We can just click here to see what Jaros says over here while.

31
00:02:38,950 --> 00:02:45,990
You OK, so the Propofol is called you Utzon's, although we are using just a few odds, parts of it,

32
00:02:46,240 --> 00:02:49,930
we have to say you sort of click here to build.

33
00:02:53,060 --> 00:02:55,880
It's built successfully to get onto the board.

34
00:03:01,660 --> 00:03:05,160
It's downloading a click switch over here.

35
00:03:08,160 --> 00:03:09,560
We're going to keep in real time.

36
00:03:10,430 --> 00:03:13,840
OK, I'm going to select my portraits over here.

37
00:03:16,950 --> 00:03:23,910
Then I'm going to select my port and I'm going to run off anyway, and then I'm going to open the port

38
00:03:23,910 --> 00:03:24,240
here.

39
00:03:26,710 --> 00:03:28,050
OK, Azorella, strange.

40
00:03:34,950 --> 00:03:36,300
I see we're getting.

41
00:03:40,480 --> 00:03:43,690
We got some information every now and then it stopped.

42
00:03:44,290 --> 00:03:46,950
OK, I'm going to pause over here.

43
00:03:48,380 --> 00:03:52,910
Let's see, we end up in Hartford, going to come out over here.

44
00:03:59,990 --> 00:04:02,830
That's Inspector Pranav functions again.

45
00:04:03,690 --> 00:04:06,060
OK, so over here we say we'll bring this.

46
00:04:07,160 --> 00:04:14,900
Courage return you line here, Barinov, Courage Return, that should be a new line and over here there

47
00:04:14,900 --> 00:04:15,740
should be a new line.

48
00:04:16,190 --> 00:04:19,080
You said bring the value received ID and then Eldo.

49
00:04:19,580 --> 00:04:26,000
OK, I'm going to leave this so we fix what our here became.

50
00:04:26,120 --> 00:04:30,260
And of course we rather than have courage, written a new line.

51
00:04:30,260 --> 00:04:32,200
We had courage, retain courage, return.

52
00:04:32,600 --> 00:04:36,810
OK, let's see if this is what is causing the problem and we keep it up.

53
00:04:36,830 --> 00:04:40,270
We use in our new you ought to write function as well.

54
00:04:40,280 --> 00:04:42,230
So I'm going to actually clean this one.

55
00:04:42,410 --> 00:04:43,880
Such a put job.

56
00:04:43,880 --> 00:04:47,360
We call in this new function that we've written when I click here to build.

57
00:04:50,190 --> 00:04:53,460
Then I'm going to get onto the board over here like this.

58
00:04:56,350 --> 00:04:57,160
You know, switch.

59
00:04:59,300 --> 00:05:02,780
And I'm going to bring in real time, so this is real time.

60
00:05:03,700 --> 00:05:11,000
I come over here, we are on the display, I'll take new lie mode port over here, also to my port.

61
00:05:11,350 --> 00:05:15,220
This one here then does the portrait.

62
00:05:15,220 --> 00:05:21,600
Sorry, my port is 16 and I'm going to click to play and I'm going to click to open the port.

63
00:05:21,610 --> 00:05:24,080
You can see we have it.

64
00:05:24,100 --> 00:05:24,840
It's successful.

65
00:05:25,120 --> 00:05:26,470
The value we received is.

66
00:05:27,550 --> 00:05:35,770
Two fifty eight and we can verify this from our Sinda, so the Senate is sending to 50 to send in this

67
00:05:35,770 --> 00:05:40,550
volume 20, 50, I should say, 20 and 50, OK.

68
00:05:40,600 --> 00:05:42,140
And that's what it's received over here.

69
00:05:42,430 --> 00:05:42,820
So.

70
00:05:43,890 --> 00:05:52,170
We would use this new this new function for our delay, rather than use the one that comes with hard

71
00:05:52,930 --> 00:05:59,340
for our Ewart's, OK, so this all the risks of seeing the next lesson.
