Guest User

Untitled

a guest
Feb 23rd, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. #include <Arduino.h>
  2. #include <Servo.h>
  3.  
  4. Servo tilt, pan;
  5.  
  6. void setup ()
  7. {
  8. tilt.attach(14); //D5
  9. pan.attach(4); //D2
  10. }
  11.  
  12. void loop ()
  13. {
  14. tilt.write(62);
  15. delay(2000);
  16. pan.write(109);
  17. }
Add Comment
Please, Sign In to add comment