I am a newbies, while trying servo, I saw #include servo.h, but I cant find what is inside servo.h, I need your advice, should I just apply it, or I should go deep and understand what is the instruction in the servo.h ?
Hi Paul,
Thanks for quick reply, I am very new, so when I do the programing, I know have to include the servo.h, then start to write other command. In future if I use a different servo motor, not from the starter kit, can I still use this file servo.h, or I have get a different file in the library. In other word, should I go deep to understand hoe to write the servo.h , or I just need to use it. ?
yes
Take a view here to gain the knowledge.
Generally, use it. If you're curious, though, if you have the IDE installed on a PC, look somewhere like(details may differ, general structure is correct):
C:\Program Files (x86)\Arduino\libraries\Servo
You can find the documentation for the built-in libraries in the IDE under: Help -> Reference
That will bring you to the reference webpage. From there click on "LIBRARIES".
For non-built-in libraries, go to Tools -> Manage Libraries... and use the "Filter your search..." box to find the specific library. At the bottom of the library description, you should find a "More info" link that will take you to the library's documentation.
Hi Paul,
Thank you so much, I will continue my learning.
Hi Camsysca,
Thank you so much, this is very helpful !
Hi Johnwasser,
Thank you so much, I will look into it !
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.