difference between <Servo.h> and <SoftwareServo.h>

i am just confused. i am also creating a program for controlling servos in a robot arm. i read that you should use servo.refresh() every 50 or 20ms but this code does not work for the library servo.h. but why? what is the difference between servo.h and SoftwareServo.h . i can only see the code servo.refresh in SoftwareServo.h. please answer… thank you! :slight_smile:

This is confusing. You have asked the same question in 2 places. Please don't do that.

I answered it in the other place.

...R

Robin2:
This is confusing. You have asked the same question in 2 places. Please don't do that.

I answered it in the other place.

...R

You're right Robin2, but on balance I think it deserves a thread of it's own (it had nothing to do with the thread where it was). There might be other differences that other folks can rather explain to M_Y here.

i can only see the code servo.refresh in SoftwareServo.h. please answer.. thank you! :slight_smile:

The functions contained in any particular library are there as placed by the library developer. You probably won't find a servo.bring_me_a_beer() function in either library.