How to make DC motor go forward for 30 secs, stop and reverse for 30 sec?

I need to write a program that will make my dc motor to go forward 30 seconds stops for 5s and go reverse for 30 seconds.

claudilla: I need to write a program that will make my dc motor to go forward 30 seconds stops for 5s and go reverse for 30 seconds.

The key word in that statement is the first one.

Get busy.

Talk to this guy