Hello, welcome back.
So let's update our posture function here to see if we can if that would allow us to be able to print
much more, you know.
Effectively, I'm going to create a new function here, I'll call you out to right, so there's a function
that would write data today you ought to underscore.
Right?
It's going to take an argument of Int S.H. over here to time.
OK, so what we want to do is we want to write to the data register of the are.
But before that, what we have to wait for the status bit to be said.
So I say well over here.
Then I'll see you at 2:00 and then I'll access the status register and then I'll perform an end operation
with this hexadecimal number and this will check a particular bit the status register to see if that
-- is set or not.
OK, so this will run the check and then after the bit is set, then we can come over here and then
right our data, which is going to be passed us argument here to the you ought to be fruit.
So I'll see you at two D-R today to register Ecorse.
H, which is for argument.
Then it's your ex if you're like this, and then we're going to return S.H..
OK, so now over here, what I'm going to do is.
I'm going to first of all, I'm going to put this on top of good toucha.
And I'm going to call this function instead of where you are to write function, so I'll see you at
right over here.
Rather than use our rather than use this one, obviously you are right, then we simply pass S.H. in
here like this.
OK, so now.
Let's build and see what we have.
So this is our last project, we bought a cute.
OK, I'm going to click here to build.
We have to address and see.
We can just click here to see what Jaros says over here while.
You OK, so the Propofol is called you Utzon's, although we are using just a few odds, parts of it,
we have to say you sort of click here to build.
It's built successfully to get onto the board.
It's downloading a click switch over here.
We're going to keep in real time.
OK, I'm going to select my portraits over here.
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
here.
OK, Azorella, strange.
I see we're getting.
We got some information every now and then it stopped.
OK, I'm going to pause over here.
Let's see, we end up in Hartford, going to come out over here.
That's Inspector Pranav functions again.
OK, so over here we say we'll bring this.
Courage return you line here, Barinov, Courage Return, that should be a new line and over here there
should be a new line.
You said bring the value received ID and then Eldo.
OK, I'm going to leave this so we fix what our here became.
And of course we rather than have courage, written a new line.
We had courage, retain courage, return.
OK, let's see if this is what is causing the problem and we keep it up.
We use in our new you ought to write function as well.
So I'm going to actually clean this one.
Such a put job.
We call in this new function that we've written when I click here to build.
Then I'm going to get onto the board over here like this.
You know, switch.
And I'm going to bring in real time, so this is real time.
I come over here, we are on the display, I'll take new lie mode port over here, also to my port.
This one here then does the portrait.
Sorry, my port is 16 and I'm going to click to play and I'm going to click to open the port.
You can see we have it.
It's successful.
The value we received is.
Two fifty eight and we can verify this from our Sinda, so the Senate is sending to 50 to send in this
volume 20, 50, I should say, 20 and 50, OK.
And that's what it's received over here.
So.
We would use this new this new function for our delay, rather than use the one that comes with hard
for our Ewart's, OK, so this all the risks of seeing the next lesson.