Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- define RSP 11 // right servo pin
- #define LSP 12 // left servo pin
- #include <Servo.h>
- Servo rightServo;
- Servo leftServo;
- void setup() {
- rightServo.attach(RSP);
- leftServo.attach(LSP);
- }
- void loop() {
- rightServo.writeMicroseconds(1320); //1320
- leftServo.writeMicroseconds(1680); //1680
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement