Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

arduino servo

Loading...

Sign in or sign up now!
23,916
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 19, 2008

//arduino servo conrol
#include "Servo.h"
Servo servo;
void setup() {
servo.attach(3);
}
int val;
void loop(){
val=analogRead(0)*180.00/1023;
servo.write(val);
delay(20);
Servo::refresh();
}

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 6 dislikes

Link to this comment:

Share to:

Top Comments

  • Nice. You get five stars just for the conviction with which you declared your parts! :P

  • Left tongue... right tongue. What a spectacular display of this powerful Arduino.

see all

All Comments (8)

Sign In or Sign Up now to post a comment!
  • Nice :)

  • Awesome, Im gonna do it now. I think ill use it 4 thisk project im doing.

  • for a second i thought you had a bs2 on that board

  • que mierda es eso... lo mas simple....

  • cool, and thanks for point out the different components used.

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more