Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <Servo.h>
- Servo myservo;
- void setup()
- {
- myservo.attach(4);
- myservo.writeMicroseconds(0);
- }
- void loop() {
- myservo.writeMicroseconds(2000);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement