jeroendoggen / Arduino-ParallaxContinuousRotationServo-library

Arduino Library for the Parallax (Futaba) Continuous Rotation Servo
4 stars 0 forks source link

Controlling multiple servos #2

Open jeroendoggen opened 9 years ago

jeroendoggen commented 9 years ago

From adcosta...@gmail.com on September 18, 2013 03:03:00

I like this library, but when I try to control multiple servos it only controls them independently (i.e. not at the same time). Is there a work around to this?

Original issue: http://code.google.com/p/arduino-parallax-continuous-rotation-servo-library/issues/detail?id=2

jeroendoggen commented 9 years ago

From jeroendoggen on September 18, 2013 04:02:19

This is possible, but not implemented for the moment. The problem is the "delay(20); " at line 50 in "ContinuousRotationServo.cpp" The solution would be to use one of the Arduino timers to generate this delay.

This will be a lab exercise for my students in an embedded systems class. I will merge the most elegant solution with my library at the end of this semester.

Status: Accepted
Labels: -Type-Defect Type-Enhancement