Software Servo Library with Digital/Analog Servos

This may be a silly question, but can I use both Digital and Analog servos with the Software Servo library?

Yes, most servos are designed to work with the standard RC Pulse range of 1000 to 2000 microseconds as provided by the Arduino Servo library - I assume that you mean the standard Arduino Servo library when you refer to 'Software Servo' ?

Duane B

rcarduino.blogspot.com

I meant this library since I plan to use 12 servos with an Arduino Uno

http://playground.arduino.cc/ComponentLib/servo

Ben1234:
This may be a silly question, but can I use both Digital and Analog servos with the Software Servo library?

What do you mean by "digital servo"?

Do you mean a servo that takes standard PPM RC control signals, and using an internal microcontroller, updates the position at a quicker rate? Example:

...or do you mean a servo that uses a digital bus (and is programmable, has various feedback via bus, etc)? Example:

http://www.robotis.com/xe/dynamixel_en

If the former, it shouldn't be an issue; if the latter - then no; not without some kind of method of conversion (which would almost defeat the purpose of these specialized servos).

You do not want to use the software servo library, at one time the standard servo library that comes with Arduino was limited to a small number of servos, but for years now it has been able to support 12, it is very well known, very well supported and very reliable. Best of all the standard library does not require you to call refersh every 50ms.

Here is an example you can use right now that drives 12 servos with the standard library -

Duane B

rcarduino.blogspot.com