One of the greatest thing in Arduino development environment (IDE) is that it provides us an easy access to a very large amount of off-the-shelf ready to use functions that are grouped to "libraries". now, libraries are a collection of code that makes it easy for us to connect to a sensor, display, module, and more. meaning, someone has already done the hard work and created functions to interact with some external components. it can be related to communication, like Ethernet or Wifi, or how to store information on SD card, display text on LCD display and much more.
There are hundreds of additional libraries available on the Internet for download now let's see the library manager option that we have inside the Arduino IDE. Ok assuming we would like to add some library in our program so we already so that before. we going into option that is called "Sketch", under that we "Include Library" and choose something
for example, let's say I would like to choose the EEPROM option, just click on that and it will add a new line with the word "#Include" and the name of the library. now, in addition to that you can go again to the same "Sketch" option and go into "Manage Libraries" and over there you are getting some nice options to filter libraries based on "Topics". so I going into all kind of topics, it can be related for example to "communication", I will click on that
I will get all kind of available libraries related to "communication". some of them are already installed as part of the build-in Arduino IDE. for example, the "Ethernet" library being used to use the Arduino Ethernet board/shield you can see some short explanation about that. if I will scroll down, I will see a long list of all kind of libraries related to that topic, "communication" that I can utilize in my programs
Ok, very useful just under one category you can see a long list of libraries. so there is a build-in library for using LCD. we will use some of those libraries not in this specific course, it will be in next levels. ok, but just for your knowledge how can you find it and add that to your program.
How To Use Libraries In Arduino Programming
December 11, 2018
0
Tags
Dear visitor. Click on "Follow" button from right side above and sign in with your Gmail account. Write unlimited comments on every post. 100% Free