Advertisement
belrey10

SERVO Control

Jun 9th, 2020
382
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.20 KB | None | 0 0
  1. #include <Servo.h>
  2. Servo servo1;
  3.  
  4. void setup() {
  5.     //put your setup code here, to run once:
  6. servo1.attach(9);
  7. servo1.write(180);
  8.  
  9. }
  10.  
  11. void loop() {
  12.     //put your main code here, to run repeatedly:
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement