Let's no use the infrared remote control from our coup, but before that, we are going to need to do
something.
OK, we are going to need to install an Arduino library.
So in this lesson, you're going to learn how to install a new ad in the library that is not in the
school libraries that you already have in the and when you install the idea, for example.
So you have seen that we have used libraries before and we have included libraries like EPROM or like
the Liquid Crystal Library.
And we just need to include and then put the name of the library and it worked.
And here the library we are going to need is why are we so uppercase infrared and in lowercase remotes
dot h.
OK, so that's the library we are going to use and let's actually just verify.
So let's name these remotes and we have an era.
What is the era.
You can see our remote no such file directory, which means that this was not found.
And if it was not found, it's probably because the two options here maybe have written the name and
not correct way.
So, for example, here, if it's a bookcase and you put the lower kids to work, but here we are pretty
sure that this is a correct syntax, but it's not working.
Why?
Because we need to actually manually install the library and how to do that?
Well, we can go to tools and manage libraries.
You can see also here the shortcut.
OK, and you get to the library manager, so here you have all the libraries that you can use in your
county, you can see that actually already quite a lot.
And to browse the libraries where you can just use the search bar here.
So let's, for example, it's type liquid back and just wait a little bit and you can see liquid crystal.
That is the library that we have previously used for the LCD.
And you can see it's already installed.
So that was already done for us.
But now the library we want to use.
So I'm going to type in and.
And weight limit and you can see the library we want to use is actually that remote.
So you can see by sheriff here that three T o and so that's probably the shadows of the people in GitHub
that developed that library.
And you can see that library is not installed.
So what we can do is we can click on install to install it and that's what we install the latest version.
OK, well, we currently eat three point zero point three, so maybe that's going to be higher for you
because the developers continuously update the library.
But actually what I'm going to do is I'm not going to install the first three point zero point three.
I'm going to go down and install the two point six point one.
So select that one, OK?
And I'm going to come back to this later and then we're going to use the library version three.
OK, so let's install it so you can choose.
You can see now it's installed so you can choose whatever version you want, OK?
For one library, you have multiple versions which correspond to multiple iteration of the library.
So now you have the library which is installed with two point six point one.
So in the following, listen, I'm going to use this version.
And in the lesson after that, we are going to switch to version three and I'm going to explain why
we did that and what are the different.
So now that it's installed, you can close the library manager.
So any time you just go back to tool library management, we've managed libraries and now let's just
verify again.
And now it works, OK?
The remote was found and I'm going to show you actually where is that library?
Because the library will be installed on your computer.
So if you go to your so I have this computer documents and outranged.
This is where I have all my sketches of all my programs.
You can see all the activity and stuff.
And we have a folder that one should already be there called libraries.
So you're going to libraries and at the beginning this will be empty.
We've just read me the text with some information and you are for the guide of how to use the libraries.
And now you can see we have a new folder named I Are Remote, and that's the library we have installed.
So you go on your Ardino folder and then libraries and you get all the libraries you have.
So if you want to uninstall a library, you can also directly.
That's very easy.
You just remove the folder here and the library is going, all right.
You know how to install the next on a library in the original 80 and note that this doesn't apply to
Tinker Kaloogian.
Tinker, can you already have a set of libraries you can use with some nations that are already set?
You can't install new libraries on Tinker Cartful, not only on the.