And here is yet another activity to practice by mixing different hardware components.
So here what you're going to do is to print the distance that you measure from the ultrasonic console
on the LCD display screen, OK, and actually you are going to print.
So you have two lines.
So let's use the two lines of the després screen on line one you're going to print, right.
And then the right that you choose to read from the ultrasonic sensor.
So, for example, for us, that would be 60 milliseconds.
But of course, you are going to replace that with the variable you get directly from your program.
OK, so on line one, we have the frequency at which we read from the program.
And then on line two, you are going to bring this thing the distance.
So distance like this and then the distance in centimeter or whatever unit you want.
All right.
And for a solution, what I encourage you to do is to start from scratch.
A blank page like this do decode the entire code for the ultrasonic sensor, do the entire code for
the LCD screen, and then add the functionality so you can practice with everything you've seen before
and get more confident with those two sensors.
And I'm going to see you in the next lesson for the solution.