So my robot does work when it is connected to us or usb and 9V, but when it is connected only to the 9V
Everything works with little pulses and long delays!
Is this a good code even?
Servo servo; //Create a servo object
//Standard PWM DC control
int E1 = 5; //M1 Speed Control
int E2 = 6; //M2 Speed Control
int M1 = 4; //M1 Direction Control
int M2 = 7; //M2 Direction Control