todbot / ServoEaser

Arduino library for servo easing
73 stars 17 forks source link

How to operate 2 servos #2

Closed Rogieee closed 3 years ago

Rogieee commented 6 years ago

Using the ServoEaser1RandEaser scripts How can I add a second servo. Im trying to create random X/Y movement with the easing for a CCTV Camera Mount.

todbot commented 6 years ago

Hi, You would create two Servo objects and two ServoEaser objects. There's an example of this here: https://github.com/todbot/ServoEaser/blob/master/examples/ServoEaser5PlaySync/ServoEaser5PlaySync.ino

Rogieee commented 6 years ago

Thank you for your fast response. Sorry to use the "I'm a newby to this but...." What I'm I doing wrong? Please see attached.

Camera Easing.txt

todbot commented 3 years ago

I believe this is solved with PR #9