I want to set up a series of servos to connect to a single photocell, I currently followed this setup and code
and it is working, but i am trying to add multiple servos to it. How do I go about doing this.
I want to set up a series of servos to connect to a single photocell, I currently followed this setup and code
and it is working, but i am trying to add multiple servos to it. How do I go about doing this.
does each servo need to have its own servo pin in the include section like
int servoPin = 12;
Servo servo;
int angle = 0; // servo position in degrees
int servoPin = 10;
Servo servo1;
int angle = 0; // servo position in degrees
Yes, unless you want them both moving nearly the same amount at the same time.