Skip to content

Instantly share code, notes, and snippets.

@samilkorkmaz
Created March 21, 2020 14:51
Show Gist options
  • Save samilkorkmaz/34c5c698e304579beed7ac3f7f50da3b to your computer and use it in GitHub Desktop.
Save samilkorkmaz/34c5c698e304579beed7ac3f7f50da3b to your computer and use it in GitHub Desktop.
Servo zero position
#include <Servo.h>
Servo myservo;
void setup() {
myservo.attach(9); // attaches the servo on pin 9 to the servo object
myservo.write(0);
}
void loop() {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment