Hello all
Im having a problem with some code i wrote... essentially i have an arduino controlling 2 dc motors and a servo motor. in the program the are used at completely different times but the main issue here is, when i insert this bit of code:
#include <Servo.h>
Servo myservo; // Servo
void setup (){
myservo.attach(6);
}
the motors dont want to run. the motors are connected to separate pins and all. As soon as i remove those lines of code the motors work normally in my program. So how can i get both of these to work peacefully. Thank You