Go Down

Topic: Simultaneous but different servo sweeps with four servos (Read 12453 times) previous topic - next topic


I want my servo's to go in the opposite direction but I have no idea how to do it...
Code: [Select]
Servo one;
Servo two;

int pos = someValue;

two.write(180-pos); // Assumes that the servo limit is 180
The art of getting good answers lies in asking good questions.

Go Up