Published © GPL3+

Servo

How to use a Servo.

BeginnerProtip23,573
Servo

Things used in this project

Hardware components

arduino board (any)
×1
Servos (Tower Pro MG996R)
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

servo setup

servo schematic

Code

servo

Arduino
#include <Servo.h>

Servo s1;

void setup (){
  s1.attach(9);
  s1.write(90);
}

void loop(){
  
}

Credits

Comments