Log in to unlock Raspberry Pi 5 for $60 (was $80) with $100+ in eligible purchases.
#include
Servo myservo;
void setup() {
myservo.attach(9);
}
void loop() {
myservo.write(90);
}
If you want to do it with a servotester you only have to plug the servo in to the servotester and set it to 90degrees. Now you can turn the potentiometer until it stops turning.
I hope you enjoyed the project, if you have any questions ask me in the comments.