whats a library:/

im a newb:/ to programing and to the arduino can someone please explain to me what a library is.

Basically, its a piece of code that encapsulates commonly used and referenced functions utilized by other pieces of code...

Libraries are used in coding to simplify management and maintenance of software being developed; rather than writing the same piece of code 10 times in a program, you can instead put it in a library, and call it 10 times in your program. If you ever need to change the way it works (where you are expecting the change to propagate to the other ten calls as well), you change it in one location, rather than 10.

That's a real basic, high level explanation of a library, though...

:slight_smile: