WEBVTT

00:00.240 --> 00:07.530
Let's no use the infrared remote control from our coup, but before that, we are going to need to do

00:07.530 --> 00:08.200
something.

00:08.220 --> 00:12.040
OK, we are going to need to install an Arduino library.

00:12.300 --> 00:17.360
So in this lesson, you're going to learn how to install a new ad in the library that is not in the

00:17.370 --> 00:23.550
school libraries that you already have in the and when you install the idea, for example.

00:23.880 --> 00:29.880
So you have seen that we have used libraries before and we have included libraries like EPROM or like

00:29.880 --> 00:31.590
the Liquid Crystal Library.

00:31.860 --> 00:36.870
And we just need to include and then put the name of the library and it worked.

00:37.530 --> 00:44.910
And here the library we are going to need is why are we so uppercase infrared and in lowercase remotes

00:45.180 --> 00:46.380
dot h.

00:46.410 --> 00:51.690
OK, so that's the library we are going to use and let's actually just verify.

00:52.170 --> 00:56.990
So let's name these remotes and we have an era.

00:57.000 --> 00:57.910
What is the era.

00:58.410 --> 01:04.830
You can see our remote no such file directory, which means that this was not found.

01:05.100 --> 01:11.830
And if it was not found, it's probably because the two options here maybe have written the name and

01:12.150 --> 01:13.370
not correct way.

01:13.680 --> 01:20.550
So, for example, here, if it's a bookcase and you put the lower kids to work, but here we are pretty

01:20.550 --> 01:23.190
sure that this is a correct syntax, but it's not working.

01:23.200 --> 01:23.450
Why?

01:23.460 --> 01:29.150
Because we need to actually manually install the library and how to do that?

01:29.280 --> 01:34.020
Well, we can go to tools and manage libraries.

01:34.300 --> 01:36.420
You can see also here the shortcut.

01:41.100 --> 01:48.160
OK, and you get to the library manager, so here you have all the libraries that you can use in your

01:48.210 --> 01:51.660
county, you can see that actually already quite a lot.

01:51.990 --> 01:56.050
And to browse the libraries where you can just use the search bar here.

01:56.280 --> 02:03.810
So let's, for example, it's type liquid back and just wait a little bit and you can see liquid crystal.

02:03.810 --> 02:07.710
That is the library that we have previously used for the LCD.

02:08.400 --> 02:10.240
And you can see it's already installed.

02:10.260 --> 02:12.930
So that was already done for us.

02:13.140 --> 02:15.140
But now the library we want to use.

02:15.330 --> 02:17.520
So I'm going to type in and.

02:19.190 --> 02:25.760
And weight limit and you can see the library we want to use is actually that remote.

02:26.450 --> 02:35.450
So you can see by sheriff here that three T o and so that's probably the shadows of the people in GitHub

02:35.450 --> 02:37.370
that developed that library.

02:37.670 --> 02:40.410
And you can see that library is not installed.

02:40.910 --> 02:48.470
So what we can do is we can click on install to install it and that's what we install the latest version.

02:48.680 --> 02:55.040
OK, well, we currently eat three point zero point three, so maybe that's going to be higher for you

02:55.400 --> 02:58.810
because the developers continuously update the library.

02:59.120 --> 03:04.430
But actually what I'm going to do is I'm not going to install the first three point zero point three.

03:04.430 --> 03:09.830
I'm going to go down and install the two point six point one.

03:09.830 --> 03:11.500
So select that one, OK?

03:12.080 --> 03:16.610
And I'm going to come back to this later and then we're going to use the library version three.

03:17.030 --> 03:19.280
OK, so let's install it so you can choose.

03:19.290 --> 03:24.390
You can see now it's installed so you can choose whatever version you want, OK?

03:24.720 --> 03:30.240
For one library, you have multiple versions which correspond to multiple iteration of the library.

03:30.680 --> 03:35.970
So now you have the library which is installed with two point six point one.

03:36.410 --> 03:39.250
So in the following, listen, I'm going to use this version.

03:39.290 --> 03:44.780
And in the lesson after that, we are going to switch to version three and I'm going to explain why

03:44.780 --> 03:46.880
we did that and what are the different.

03:47.360 --> 03:51.100
So now that it's installed, you can close the library manager.

03:51.110 --> 03:57.320
So any time you just go back to tool library management, we've managed libraries and now let's just

03:57.320 --> 03:58.490
verify again.

04:01.930 --> 04:03.670
And now it works, OK?

04:03.700 --> 04:10.000
The remote was found and I'm going to show you actually where is that library?

04:10.000 --> 04:12.750
Because the library will be installed on your computer.

04:13.000 --> 04:17.700
So if you go to your so I have this computer documents and outranged.

04:17.740 --> 04:20.480
This is where I have all my sketches of all my programs.

04:20.560 --> 04:22.410
You can see all the activity and stuff.

04:22.900 --> 04:28.630
And we have a folder that one should already be there called libraries.

04:29.290 --> 04:32.940
So you're going to libraries and at the beginning this will be empty.

04:32.950 --> 04:41.160
We've just read me the text with some information and you are for the guide of how to use the libraries.

04:41.680 --> 04:48.100
And now you can see we have a new folder named I Are Remote, and that's the library we have installed.

04:48.700 --> 04:54.170
So you go on your Ardino folder and then libraries and you get all the libraries you have.

04:54.190 --> 04:58.040
So if you want to uninstall a library, you can also directly.

04:58.040 --> 04:58.720
That's very easy.

04:58.720 --> 05:04.310
You just remove the folder here and the library is going, all right.

05:04.540 --> 05:11.050
You know how to install the next on a library in the original 80 and note that this doesn't apply to

05:11.050 --> 05:11.940
Tinker Kaloogian.

05:11.950 --> 05:17.920
Tinker, can you already have a set of libraries you can use with some nations that are already set?

05:18.190 --> 05:22.810
You can't install new libraries on Tinker Cartful, not only on the.
