* Everything you need is already there, you just need to do some duplicating * and name changing. Download ZIP From above link, Go to Arduino Folder from ZIP > Copy I2Cdev And MPU6050 Folder to your Arduino Library Folder include < Wire.h > include < MPU6050. You may need * its help with the exercise! * * * You will need to add things to the declarations, the setup AND the main loop. * * Look at the Arduino site reference page and the description of * the 'if.else' statement under the 'Structure' section. An Arduino is smaller, simpler, and more reliable, and can better perform fine motion control than a. * This sketch shows how to use an if statement to check multiple parameters, * it will make a servo turn with the button on pin 6, * but only a tiny bit before it will need a reset! * See if you can add another button and another 'if' statement to get the * servo to turn one way with one button and another with the other. : Dorhea 5 Pcs SG90 Micro Servo Motor Mini Servo SG90 9g Servo Kit Compatible with RC Helicopter Airplane Car Boat Robot Arm/Hand/Walking/Servo Door Lock Control . It depends on what you want the servo motor to do.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |