2 Dc motors simultaneously

i want to help 2 dc motor runing at same direction pres the key motor rotate forword directoin and stop aftar 10sec rotart the motor
and same as for revars direction

using two switch and 2 dc motor using arduno and l298n plz help me

@niketan844, you have posted a new question in a very old Thread so I have suggested to the Moderator to move you to your own Thread.

If you already have a program please post it and tell us in detail what it actually does and what you want it to do that is different. It will make it much easier to focus on the parts you need help with rather than wasting time on things that you can do.

If you have not got that far then the examples that come with the Arduino IDE cover such things as button pressing and controlling a motor. Start simple by experimenting with a single motor.

...R

Have you tried anything yet? If so post it.

Or Google "Arduino L298N motors". Hundreds of projects doing what you need or at least most of it.

Steve