TANK

Hey I built a robot on some tank treads and used this circuit

and this code int dcr = 11; int dcl = 8;

void setup() { pinMode(dcr, OUTPUT); pinMode(dcl, OUTPUT);

}

void loop() { digitalWrite(dcr, HIGH); digitalWrite(dcl, HIGH);

}

All i want it do do is drive forward and turn for my curcuit the 5v the supplies the transistors is the 5v pin and the other two are pins 11 and 8 so my problem is my arduino isnt giving off 5v on pin 11 and 8 how do i fix this

wait my code didnt show up here it is?

Untitled Sketch 2.fz (93.4 KB)

Hey I built a robot on some tank treads and used this circuit

Well that looks like code not a circuit. When posting code select it and hit the #icon.

So can you actually post a circuit diagram of how you have wired it up? That file you posted means nothing to my machine.

What the heck is a .fz file and a .pictClipping file?

Please post using common formats.


Rob

Is this thread in any way related to this: http://arduino.cc/forum/index.php/topic,78085.msg589617.html#msg589617 ?