And a new entity to practice with the communication.
So we decided we are going to use one entity from the secret we have and decided communication to send
a number from the computer to the original.
And so what you are going to do first is very simple.
The first step is to make the blink ring the ability so you can choose any entity you want to be in
2011.
It doesn't really matter.
Just make an entity blink.
And then, of course, you need to choose a delay to set a frequency for the week.
And here is where you will you say communication.
So the value you have in the delay in Michigan will be the value that you send of the cell communication
here.
When we send a number, let's say send 300 or we press enter and this will become the new delay.
And during the execution of the program, every time we send a new number, this will become the new
delay.
We can do is in the loop.
We will use what we've seen before to read data from the cell communication and then use the bus information
to get a number.
And this number we're going to delete also because there will be no value set at the beginning when
you run the program where you just start the program so you can use a default value, OK, for the first
time until you send a value through the sale communication.
Also, to make things a little bit more interesting, you will need to validate.
Validate the user input.
OK, because the delay, we're going to say that the delay can only be between one hundred milliseconds
and one thousand milliseconds so that the only values that we are going to accept.
So if you send here a delay of 10 milliseconds, that will not work.
Send one thousand three hundred.
That will not work either.
OK, so you need to validate the user input to make sure it's between one hundred and one thousand.
All right.
And I will see you in the next lesson for the solution.