Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <Servo.h>
- Servo myservo;
- void setup() {
- // put your setup code here, to run once:
- myservo.attach(3);
- }
- void loop() {
- // put your main code here, to run repeatedly:
- myservo.write(0);
- delay(1500);
- myservo.write(90);
- delay(1500);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement