WEBVTT

00:00.210 --> 00:06.220
And here is yet another activity to practice by mixing different hardware components.

00:06.630 --> 00:13.140
So here what you're going to do is to print the distance that you measure from the ultrasonic console

00:13.440 --> 00:18.360
on the LCD display screen, OK, and actually you are going to print.

00:18.370 --> 00:20.270
So you have two lines.

00:20.280 --> 00:26.970
So let's use the two lines of the després screen on line one you're going to print, right.

00:27.180 --> 00:32.290
And then the right that you choose to read from the ultrasonic sensor.

00:32.310 --> 00:35.490
So, for example, for us, that would be 60 milliseconds.

00:35.490 --> 00:41.580
But of course, you are going to replace that with the variable you get directly from your program.

00:41.640 --> 00:46.310
OK, so on line one, we have the frequency at which we read from the program.

00:46.590 --> 00:50.780
And then on line two, you are going to bring this thing the distance.

00:50.790 --> 00:58.590
So distance like this and then the distance in centimeter or whatever unit you want.

00:59.250 --> 00:59.610
All right.

00:59.610 --> 01:04.560
And for a solution, what I encourage you to do is to start from scratch.

01:04.860 --> 01:11.970
A blank page like this do decode the entire code for the ultrasonic sensor, do the entire code for

01:11.970 --> 01:18.540
the LCD screen, and then add the functionality so you can practice with everything you've seen before

01:19.110 --> 01:22.050
and get more confident with those two sensors.

01:22.450 --> 01:25.470
And I'm going to see you in the next lesson for the solution.
