WEBVTT

00:00.150 --> 00:06.480
Now that you have built your first in secret, whether with real components from the online simulation,

00:06.780 --> 00:13.610
let's not waste any time and let's make this a blink, make sure you have correctly followed the previous

00:13.620 --> 00:19.630
section on how to create your first Arduino program, because we are going to start from there.

00:19.920 --> 00:24.450
What I'm going to do is I'm going to do five open or you can do control.

00:24.700 --> 00:30.630
Oh, and well, here you have the different programs and projects you have created before.

00:30.960 --> 00:38.700
And here the first program, it's what I need here and you will see that it is exactly the program we

00:38.700 --> 00:40.680
need to make the blink.

00:40.950 --> 00:49.320
So what we have done here is first in the setup, we use the PIN mode to make the PIN 13 as an output

00:49.450 --> 00:55.140
PINACATE 13, which was connected, if you remember, to the integrated LCD.

00:55.830 --> 01:00.060
And then in the loop we do digital right high to power.

01:00.060 --> 01:04.110
On the end we wait for once again and then digital.

01:04.110 --> 01:04.500
Right.

01:04.500 --> 01:07.040
We've low to go of the ability.

01:07.860 --> 01:09.630
So what has changed?

01:10.500 --> 01:13.260
The thing is we want the exact same behavior.

01:13.590 --> 01:21.400
Just what has changed is the PIN number because now it is not 13, but now it is 12.

01:21.660 --> 01:28.290
So I'm going to change that into 12 here and also here and also here.

01:29.340 --> 01:35.470
So make sure you change to 12 for every function that requires the PIN number.

01:35.730 --> 01:42.870
Also, if at this point you are confused with what is a digital pin, what are the PIN code and digital

01:42.870 --> 01:43.680
right functions?

01:43.890 --> 01:44.970
Well, that's normal.

01:45.120 --> 01:48.540
And I would explain to you everything quite soon in the course.

01:48.840 --> 01:54.580
Right now, the important thing is to be able to make that link with the security you have to build.

01:55.110 --> 01:57.740
So this program should be it.

01:58.170 --> 02:04.010
And now what you do, of course, is you plug the original board to your computer.

02:04.350 --> 02:11.310
You make sure on tools that you have the correct board and the correct vault, and then you can just

02:11.310 --> 02:16.740
so you can verify and directly upload, which will verify and upload.

02:20.110 --> 02:27.930
OK, Don applauding And you can see your first the first real energy that you have blood to your Adreno

02:28.180 --> 02:30.980
is now blinking every one second.

02:31.900 --> 02:32.860
Congratulations.

02:33.370 --> 02:37.130
And if you want, you can do the exact same thing on Dinko Card.

02:37.180 --> 02:43.660
So you just need to write the exact same code on Dinko and you should have the same result on dissimulation.
