Myservo. Myservo.write(90) // sets the servo at 90 degree position Myservo.write(0) // sets the servo at 0 degree positionĭelay(1000) // waits for the servo to get there Here is the much talked-about moment from last night’s episode of So You Think You Can Dance A contestant falls to the floor in excitement, only to reveal gasp she’s not wearing any. Myservo.attach(9) // attaches the servo on pin 9 to the servo object Servo myservo // create servo object to control a servo Understanding the basic of servo in arduino projects.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |