b'ARDUINO LIBRARIES: Writing codecreating a servo object, like this:that sends precise PWM signals to theServo myServo;servo would be time consuming and would require a lot more knowledge aboutObjects look a lot like variables, but they the servo. Luckily, the Arduino IDE hascan do much more. Objects can store hundreds of built-in and user-submittedvalues, and they can have their own containers of code called libraries. One offunctions, which are called methods.the built-in libraries, the Servo Library,The most used method that a servo object allows us to control a servo with just a fewhas is .write():lines of code! myServo.write(90);To use one of the built-in Arduino libraries,The write method takes one parameter, a all you have to do is include a link to itsnumber from 0 to 180, and moves the servo header file. A header file is a smaller codearm to the specified position (in this case, file that contains definitions for all thedegree 90).functions used in that library. By adding a link to the header file in your code, youWhy would we want to go to the trouble of are enabling your code to use all of thosemaking an object and a method instead of library functions. To use the Servo Library,just sending a servo control signal directly you would add the following line to the topover a pin? First, the servo object does the of your sketch. work of translating our desired position #include into a signal the servo can read. Second, using objects makes it easy for us to add OBJECTS AND METHODS: To use theand control more than one servo.Servo Library, you will have to start by SERVO BASICS: Servo motor connectors are polarized, but there is no place to attach them directly. Instead, connect three jumper wires to the female 3-pin header on the servo. This will make it so you can connect the servo to the breadboard. The servo wires are color coded to make hookup simple.CONTROL+5VGND55 : circuit 3a'